@Test public void testGetHost() { HostPort hostPort = new HostPort("127.0.0.1", 2181); assertTrue(hostPort.getHost().equals("127.0.0.1")); }
public String getHost() { return host; }
HostPort { public String getHost() { return host; } }
HostPort { public String getHost() { return host; } HostPort(String host, int port); }
HostPort { public String getHost() { return host; } HostPort(String host, int port); String getHost(); int getPort(); String getHostPort(); static HostPort parseHostPort(String string); }
HostPort { public String getHost() { return host; } HostPort(String host, int port); String getHost(); int getPort(); String getHostPort(); static HostPort parseHostPort(String string);  }