Proxy { @Override public String toString() { return this.toURI().toString(); } Proxy(String host, int port);  Proxy(String host, int port, String scheme);  Proxy(String host, int port, String username, String password); static Proxy create(final URI uri); String getScheme(); void setScheme(String scheme); String getHost(); int getPort(); String getUsername(); String getPassword(); URI toURI(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { assertEquals(" assertEquals("http: assertEquals(" assertEquals(" assertEquals(" }