public void shouldThrowIsAliasIsNotFound() throws LoginException, KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
{
final Certificate callerCert = getCertificate(keyStorePath, keyAlias);
// create the authentication request using the callers certificate as the credential
final AuthenticationRequest authRequest = getAuthenticationRequest(callerCert);
// create and setup the esb callback handler
final CertCallbackHandler certCallbackHandler = new CertCallbackHandler();
certCallbackHandler.setAuthenticationRequest(authRequest);
certCallbackHandler.setSecurityConfig(getSecurityConfig("bogusAlias"));