throws Exception
{
MBeanServer server = MBeanServerFactory.createMBeanServer();
Resource resource = new Resource();
ModelMBean modelmbean = new RequiredModelMBean();
modelmbean.setModelMBeanInfo(getModelMBeanInfo());
ObjectName name = new ObjectName("rmm:invocationTest=true");
server.registerMBean(modelmbean, name);
modelmbean.setManagedResource(resource, "ObjectReference");
MBeanInfo info = server.getMBeanInfo(name);
assertTrue("MBeanInfo != null", info != null);
Object[] args = {};