@After public void tearDown() { endpoint.deleteAllConnections(); endpoint.stop(); scheduler.stop(); }
@After @Override public void tearDown() { if (endpoint1 != null) { endpoint1.stop(); } if (endpoint2 != null) { endpoint2.stop(); } if (endpoint3 != null) { endpoint3.stop(); } if (endpoint4 != null) { endpoint4.stop(); } super.tearDown(); }
@After public void tearDown() { endpoint.stop(); scheduler.stop(); }