@Override public void stop() { if (null != server) { server.destroy(); server = null; } }
@AfterClass public static void destroy() { if (server != null) { server.stop(); server.destroy(); } }
@After public void done() throws Exception { if (mep == NO_RUN) { return; } if (callbackEndpoint != null) { callbackEndpoint.stop(); } if (server != null) { server.stop(); server.destroy(); } checkError(true); }
@After public void tearDown() throws Exception { server.destroy(); assertThat(server.isStarted(), is(false)); jmsBroker.stop(); }
public void tearDown() throws Exception { server.stop(); server.destroy(); server = null; }