public void testImporterCreateTables() throws Exception {
// load the configuration for the target master database 'migrated'
Configuration config = read("/openjmstest_migrated.xml");
// ensure the tables don't exist
RDBMSTool tool = new RDBMSTool(config);
Database schema = SchemaHelper.getSchema();
tool.drop(schema);
assertFalse(tool.hasTables(schema.getTable()));
// Create the importer, and verify it has created the tables.
new Importer(config, DB_NAME, false);
assertTrue(tool.hasTables(schema.getTable()));
}