1819202122232425262728
@Test public void testStartcancel() throws InterruptedException { final ServerStarter server = new ServerStarter(processorTaskFactory); server.start(); sleep(); server.stop(); assertTrue(true); // Asserts that the server shutdown exists } @Test