provider = providerInstance.getObjectName();
}
Object[] params = {};
String[] sig = {};
Object success = server.invoke(provider, "stop", params, sig);
ObjectName jmsContainerInvokerQuery = new ObjectName("jboss.j2ee:binding=my-message-driven-bean,*");
Set mbeansSet = server.queryMBeans(jmsContainerInvokerQuery, null);
assertEquals(1, mbeansSet.size());
ObjectInstance jmsContainerInvokerInstance = (ObjectInstance)mbeansSet.iterator().next();