ssl.setTrustStore("trustStore");
ssl.setTrustStorePassword("trustStorePassword");
ssl.setTrustStoreType("PCKS12");
Properties properties = new Properties(prefix);
HTTPRequestInfo info1 = populate(uri, proxyHost, proxyPort, proxyUser,
proxyPassword, ssl);
info1.export(properties);
HTTPRequestInfo info2 = new HTTPRequestInfo(new URI(uri), properties);
assertEquals(info1, info2);
assertEquals(uri, info2.getURI().toString());
assertEquals(proxyHost, info2.getProxyHost());
assertEquals(proxyPort, info2.getProxyPort());
assertEquals(proxyUser, info2.getProxyUser());
assertEquals(proxyPassword, info2.getProxyPassword());
assertEquals(ssl, info2.getSSLProperties());
}