assertTrue(p2.equals(p1));
}
public void testProtocolSocketFactory() {
ProtocolSocketFactory p1 = new DefaultProtocolSocketFactory();
ProtocolSocketFactory p2 = new DefaultProtocolSocketFactory();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
p1 = new SSLProtocolSocketFactory();
p2 = new SSLProtocolSocketFactory();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
}