@Test
public void testGetTavernaSSLSocketFactory() throws CMException {

	SSLSocketFactory sslSocketFactory = credentialManager.getTavernaSSLSocketFactory();
	assertNotNull(sslSocketFactory);
	
	// This should also create Taverna's SSLSocketFactory backed by Credential Manager's Keystore and Truststore
	// if not already created
	credentialManager.initializeSSL();
	assertEquals(sslSocketFactory, credentialManager.getTavernaSSLSocketFactory());
}