@Test(expected = IllegalStateException.class) public void testStopVerify() { underTest.stop(); }
public void stop() { verifyServerState(); server.stop(); }
ValidatingProxyServer { public void stop() { verifyServerState(); server.stop(); } }
ValidatingProxyServer { public void stop() { verifyServerState(); server.stop(); } ValidatingProxyServer(HttpValidator... validators); }
ValidatingProxyServer { public void stop() { verifyServerState(); server.stop(); } ValidatingProxyServer(HttpValidator... validators); void start(); boolean isStarted(); void stop(); String getHostName(); int getPort(); ValidatingProxyServer withPort(int port); int getSuccessCount(); void resetSuccessCount(); }
ValidatingProxyServer { public void stop() { verifyServerState(); server.stop(); } ValidatingProxyServer(HttpValidator... validators); void start(); boolean isStarted(); void stop(); String getHostName(); int getPort(); ValidatingProxyServer withPort(int port); int getSuccessCount(); void resetSuccessCount();  }