public void testProxyCredentialProvider() throws Exception {
ConnectionManager conManager = ConnectionManager.getDefault();
URL feedUrl = new URL("http://www.rssowl.org/rssowl2dg/tests/connection/authrequired/feed_rdf.xml");
IFeed feed = new Feed(feedUrl);
IProxyCredentials proxyCredentials = conManager.getProxyCredentials(feed.getLink());
assertEquals("", proxyCredentials.getDomain());
assertEquals("bpasero", proxyCredentials.getUsername());
assertEquals("admin", proxyCredentials.getPassword());
assertEquals("127.0.0.1", proxyCredentials.getHost());
assertEquals(0, proxyCredentials.getPort());
}