JettySslClientConfigurer jettySslClientConfigurer =
createJettySslClientConfigurer(sslClientPolicy,
"https://dummyurl",
handler);
jettySslClientConfigurer.configure();
SSLSocketFactory sSLSocketFactory =
jettySslClientConfigurer.getHttpsConnection().getSSLSocketFactory();
boolean isNewSocketFactory = sSLSocketFactory instanceof SSLSocketFactoryWrapper;
assertTrue("sSLSocketFactory should be non and a new one", isNewSocketFactory);
assertTrue("SSLContext init should have passed, and keystore initialization succeedeed, "
+ "EVEN THOUGH invalid key password",