@Test
public void testToString() {

    ProxySettings settings = ProxySettings.useProxy(PROXY_HOST, PROXY_PORT);
    String s = settings.toString();
    assertThat(s).contains("proxyHost='" + PROXY_HOST);
    assertThat(s).contains("proxyPort=" + PROXY_PORT);
}