ComputeRealtimeServer extends AbstractIdleService { @Override protected void shutDown() throws Exception { server.stop(); } ComputeRealtimeServer(Server server);   }
@Test public void testShutDown() throws Exception { underTest.startUp(); underTest.shutDown(); assertFalse(server.isRunning()); }