assertNotNull("Unexpected null acl policy found", policyBean1.getAclPolicy());
ApplicationPolicyBean policyBean2 = (ApplicationPolicyBean) super.getBean("TestPolicy2");
assertNotNull("Unexpected null acl policy found", policyBean2.getAclPolicy());
ACLPolicyBean aclBean = (ACLPolicyBean) super.getBean("TestPolicy1$ACLPolicy");
// assert the bean retrieved from the microcontainer is the same that has been injected into the app policy.
assertEquals(policyBean1.getAclPolicy(), aclBean);
BeanValidator.validateACLBean(aclBean);
aclBean = (ACLPolicyBean) super.getBean("TestPolicy2$ACLPolicy");