public void testLoadJMSResources() throws Exception {
InputStream in = classLoader.getResource("jms-plan.xml").openStream();
// Create and test the DDBeanRoot
URL resource = classLoader.getResource("jms.rar");
assertNotNull(resource);
Bundle bundle = new MockBundle(classLoader, "", 0L);
ConnectorDeployable deployable = new ConnectorDeployable(bundle);
assertEquals(ModuleType.RAR, deployable.getType());
Set entrySet = new HashSet(Collections.list(deployable.entries()));
assertTrue(entrySet.contains("META-INF/ra.xml"));
assertTrue(entrySet.contains("activemq-ra-3.2.1.jar"));