@After public void postChecks() { LauncherServer server = LauncherServer.getServer(); if (server != null) { // Shut down the server to clean things up for the next test. try { server.close(); } catch (Exception e) { // Ignore. } } assertNull(server); }