@Test
public void testHasKeyPair() throws CMException, KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException {

	assertFalse(credentialManager.hasKeyPair(privateKey, privateKeyCertChain));
	credentialManager.addKeyPair(privateKey, privateKeyCertChain);
	assertTrue(credentialManager.hasKeyPair(privateKey, privateKeyCertChain));
}