@Test
public void testCreateSSLContextObjectNoKeyStore() {

    
    System.setProperty(ZTSConsts.ZTS_PROP_TRUSTSTORE_PATH, "file:///tmp/truststore");
    System.setProperty(ZTSConsts.ZTS_PROP_TRUSTSTORE_TYPE, "PKCS12");
    System.setProperty(ZTSConsts.ZTS_PROP_TRUSTSTORE_PASSWORD, "pass123");
    System.setProperty(ZTSConsts.ZTS_PROP_KEYMANAGER_PASSWORD, "pass123");
    SslContextFactory sslContextFactory = ZTSUtils.createSSLContextObject(null);
    assertNotNull(sslContextFactory);
    assertFalse(sslContextFactory.getWantClientAuth());
    assertNull(sslContextFactory.getKeyStoreResource());
    // store type always defaults to PKCS12
    assertEquals(sslContextFactory.getKeyStoreType(), "PKCS12");
    assertEquals(sslContextFactory.getTrustStoreResource().toString(), "file:///tmp/truststore");
    assertEquals(sslContextFactory.getTrustStoreType(), "PKCS12");
}