@Test
public void testHasEntryWithAlias() throws CMException {

	
	String aliasTrustedCert = credentialManager.createTrustedCertificateAlias(trustedCertficate);
	assertFalse(credentialManager.hasEntryWithAlias(KeystoreType.TRUSTSTORE, aliasTrustedCert));
	
	String aliasTrustedCert2 = credentialManager.addTrustedCertificate(trustedCertficate);
	assertTrue(credentialManager.hasEntryWithAlias(KeystoreType.TRUSTSTORE, aliasTrustedCert2));
}