assertTrue("Was able to receiveResponse for a CA that does not exist.", false);
} catch (EjbcaException e) {
// Expected
}
try {
caAdminSession.receiveResponse(admin, "CN=TEST".hashCode(), new CmpResponseMessage(), null, null);
assertTrue("Was able to receiveResponse for a CA with a non X509ResponseMessage.", false);
} catch (EjbcaException e) {
// Expected
}
try {