RpcHost implements Cloneable, Serializable { public String toURI() { StringBuilder b = new StringBuilder(getScheme()); b.append(": b.append(getHostname()); b.append(":"); b.append(getPort()); return b.toString(); } RpcHost(final String hostname);  RpcHost(final String hostname, final int port);  RpcHost(final String hostname, final int port, final String scheme);  RpcHost(final RpcHost host); String getHostname(); int getPort(); String getScheme(); String toURI(); String toHostString(); String toString(); @Override boolean equals(Object o); @Override int hashCode(); Object clone();  }
@Test public void testToURI() { assertEquals("vrpcb: }