@Test
public void testNoProxySettingsDefined() throws HttpException {

    assertNull(ProxyAddressSelector.getProxyForUrl("http://www.jahia.com"));
    assertNull(ProxyAddressSelector.getProxyForUrl("https://www.jahia.com"));
    assertNull(ProxyAddressSelector.getProxyForUrl("http://localhost:8080"));
    assertNull(ProxyAddressSelector.getProxyForUrl("https://localhost:8080"));
    assertNull(ProxyAddressSelector.getProxyForUrl("www.jahia.com:9090"));
    assertNull(ProxyAddressSelector.getProxyForUrl("localhost:9090"));
    assertNull(ProxyAddressSelector.getProxyForUrl("/aaa.html"));
}