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