// Verify that the module activator was called
MBeanServer server = ServiceLocator.getRequiredService(MBeanServer.class);
Assert.assertTrue("MBean registered", server.isRegistered(getObjectName(module)));
Assert.assertEquals("ACTIVE", server.getAttribute(getObjectName(module), "ModuleState"));
} finally {
handle.uninstall();
}
}
/**
* Provision a resource from an input stream to the container shared location.