reader.readDatabaseSchema( dc, null, null );
assertEquals(mockedMetaDataDialect.gottenTables.size(),1);
assertEquals(mockedMetaDataDialect.gottenTables.get(0),"CHILD");
Iterator iterator = dc.iterateTables();
Table firstChild = (Table) iterator.next();
assertEquals(firstChild.getName(), "CHILD");
assertFalse(iterator.hasNext());
assertFalse("should not record foreignkey to table it doesn't know about yet",firstChild.getForeignKeyIterator().hasNext());