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