public void testCreateDatabase() throws Exception {
// Create and test the DDBeanRoot
URL resource = classLoader.getResource("database.rar");
assertNotNull(resource);
ConnectorDeployable deployable = new ConnectorDeployable(resource);
assertEquals(ModuleType.RAR, deployable.getType());
Set entrySet = new HashSet(Collections.list(deployable.entries()));
Set resultSet = new HashSet();
resultSet.add("META-INF/");
resultSet.add("META-INF/MANIFEST.MF");
resultSet.add("META-INF/LICENSE.txt");
resultSet.add("META-INF/ra.xml");
resultSet.add("tranql-connector-1.0.jar");
assertEquals(resultSet, entrySet);
DDBeanRoot root = deployable.getDDBeanRoot();
assertNotNull(root);
assertEquals(ModuleType.RAR, root.getType());
assertEquals(deployable, root.getDeployableObject());
// Create the DConfigBeanRoot
Connector15DCBRoot dcbRoot = new Connector15DCBRoot(root);