/** Method: getTargetSslContext() */ @Test public void testGetTargetSslContextNoKeyStorePathException() throws Exception { thrown.expect(ConfigurationException.class); thrown.expectMessage("No target KeyStore path has been set"); conf.getTargetSslContext(); }
/** Method: getProxySslContext() */ @Test public void testGetProxySslContextDefaultNoException() throws Exception { conf.getProxySslContext(); }
/** Method: getTargetSslContext() */ @Test public void testGetTargetSslContextNoException() throws Exception { conf.setTargetKeyStorePath(CERT_CLIENT).setTargetKeyStoreType(CERT_CLIENT_TYPE); conf.getTargetSslContext(); }