// DBSchemaCreator dbcreator = (DBSchemaCreator) container.getComponentInstanceOfType(DBSchemaCreator.class);
List<?> plugins = (List<?>)dbcreator.getPlugins();
assertFalse(plugins.isEmpty());
assertTrue(plugins.get(0) instanceof CreateDBSchemaPlugin);
CreateDBSchemaPlugin plugin = (CreateDBSchemaPlugin)plugins.get(0);
assertNotNull(plugin.getDataSource());
assertNotNull(plugin.getScript());
}