attributes.size() == 2);
MBeanAttribute attr = (MBeanAttribute) attributes.get("PolicyConfig");
Object value = attr.getValue();
assertTrue("Value isA PolicyConfig",
value instanceof PolicyConfig );
PolicyConfig pc = (PolicyConfig) value;
assertTrue("There 1 AuthenticationInfo",
pc.size() == 1);
AuthenticationInfo auth = pc.get("conf1");
assertTrue("The AuthenticationInfo name ic config1",
auth != null);
AppConfigurationEntry[] ace = auth.getAppConfigurationEntry();
assertTrue("The AppConfigurationEntry has one entry",
ace != null && ace.length == 1);