assertTrue(isSupportedProtocol(new URL("https:")));
}
public void testFile() throws Exception
{
AuthManager am = new AuthManager();
CollectionProperty ao = am.getAuthObjects();
assertEquals(0,ao.size());
am.addFile("testfiles/TestAuth.txt");
assertEquals(5,ao.size());
Authorization at;
at = am.getAuthForURL(new URL("http://a.b.c/"));
assertEquals("login",at.getUser());
assertEquals("password",at.getPass());
at = am.getAuthForURL(new URL("http://a.b.c/1"));