@After public void cleanUp() throws Exception { try { localCleanUp(); } catch (Exception e) { e.printStackTrace(); throw e; } cleanupSystem(); }
@Before public void setUp() throws Exception { initializeSystem(); try { localReset(); } catch (Exception e) { System.out.println("Warning: Preclean failed: " + e.getMessage()); } try { localSetUp(); } catch (Exception e) { e.printStackTrace(); throw e; } }