assertNotNull("Unexpected null audit policy found", policyBean1.getAuditPolicy());
ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
assertNotNull("Unexpected null audit policy found", policyBean2.getAuditPolicy());
AuditPolicyBean auditBean = (AuditPolicyBean) super.getBean("TestPolicy1$AuditPolicy");
// assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
assertEquals(policyBean1.getAuditPolicy(), auditBean);
BeanValidator.validateAuditBean(auditBean);
auditBean = (AuditPolicyBean) super.getBean("TestPolicy2$AuditPolicy");