import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.net.InetAddress;
private void shutdownServer() throws InterruptedException, ExecutionException, TimeoutException {
final var shutdownRet = udpHandler.shutdown() ;
- assertTrue("Wrong - shutdown failed", shutdownRet.get(10, TimeUnit.SECONDS));
+ assertNull("Wrong - shutdown failed", shutdownRet.get(10, TimeUnit.SECONDS));
}
}