assertEquals("Invalid AuthorizationManager implementation found", MockAuthorizationManager.class,
authorizationManager.getClass());
assertEquals("TestPolicy1", authorizationManager.getSecurityDomain());
// check the mapping manager injection.
MappingManager mappingManager = testBean.getMappingManager();
assertNotNull("Invalid null MappingManager found", mappingManager);
assertEquals("Invalid MappingManager implementation found", MockMappingManager.class, mappingManager.getClass());
assertEquals("TestPolicy1", mappingManager.getSecurityDomain());
// check the audit manager injection.
AuditManager auditManager = testBean.getAuditManager();
assertNotNull("Invalid null AuditManager found", auditManager);
assertEquals("Invalid AuditManager implementation found", MockAuditManager.class, auditManager.getClass());