public void testExtractConfig() throws SQLException, ClassNotFoundException
{
Model config = ExtractConfig.process("jdbc:hsqldb:mem:test", "org.hsqldb.jdbcDriver", "urn:ex:", "sa", "", new String[]{"TABLE1", "TABLE2"}, conn.getMetaData());
Resource table1 = config.createResource("urn:ex:TABLE1");
Resource table2 = config.createResource("urn:ex:TABLE2");
Resource map = config.createResource("urn:ex:map");
assertTrue("Found table1", config.contains(table1, RDF.type, RDFS.Class));
assertTrue("Found table2", config.contains(table2, RDF.type, RDFS.Class));
assertTrue("Map maps table1", config.contains(map, DbMap.mapsClass, table1));