}
public void testManagementAware() throws Exception
{
RootContainer container = createRootContainer("configuration4.xml");
ManagedManagementAware aware = (ManagedManagementAware)container.getComponentInstance("ManagedManagementAware");
assertNotNull(aware.context);
MBeanServer server = container.getMBeanServer();
assertNotNull(server);
Object foo = server.getAttribute(ObjectName.getInstance("exo:object=Foo"), "Reference");
assertNotNull(foo);