ConfigurationManager cm = (ConfigurationManager)container.getComponentInstanceOfType(ConfigurationManager.class);
DBCreator dbCreator =
new DBCreator(serverUrl, connectionProperties, "classpath:/dbcreator/test.sql", "sa", "", cm);
DBConnectionInfo dbInfo = dbCreator.createDatabase("testdb");
DBConnectionInfo dbInfo1 = dbCreator.getDBConnectionInfo("testdb");
Map<String, String> connProps = dbInfo.getProperties();
Map<String, String> connProps1 = dbInfo1.getProperties();
assertEquals(connProps.get("driverClassName"), connProps1.get("driverClassName"));
assertEquals(connProps.get("username"), connProps1.get("username"));
assertEquals(connProps.get("url"), connProps1.get("url"));
assertEquals(connProps.get("password"), connProps1.get("password"));