@Test public void isRunning() { expect(server.isRunning()).andReturn(false); replayAll(); assertFalse(webServer().isRunning()); }
public boolean isRunning() { return server.isRunning(); }
EmbeddedWebServer { public boolean isRunning() { return server.isRunning(); } }
EmbeddedWebServer { public boolean isRunning() { return server.isRunning(); } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); }
EmbeddedWebServer { public boolean isRunning() { return server.isRunning(); } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); void start(); boolean isRunning(); void stop(); void waitForShutdown(); }
EmbeddedWebServer { public boolean isRunning() { return server.isRunning(); } EmbeddedWebServer(int port); private  EmbeddedWebServer(Server server); @VisibleForTesting  EmbeddedWebServer(Server server, Context context); void start(); boolean isRunning(); void stop(); void waitForShutdown();  }