hasProperty("name", is("AuditedItem_AUD")),
hasProperty("name", is("REVINFO")),
hasProperty("name", is("WatcherSeqTable"))));
Table bidTable = (Table) snapshot.get(new Table().setName("bid").setSchema(new Schema()));
Table auctionInfoTable = (Table) snapshot.get(new Table().setName("auctioninfo").setSchema(new Schema()));
Table auctionItemTable = (Table) snapshot.get(new Table().setName("auctionitem").setSchema(new Schema()));
assertThat(bidTable.getColumns(), containsInAnyOrder(
hasProperty("name", is("id")),
hasProperty("name", is("item_id")),
hasProperty("name", is("amount")),
hasProperty("name", is("datetime")),
hasProperty("name", is("bidder_id")),
hasProperty("name", is("DTYPE"))
));
assertTrue(bidTable.getColumn("id").isAutoIncrement());
assertFalse(auctionInfoTable.getColumn("id").isAutoIncrement());
assertFalse(bidTable.getColumn("datetime").isNullable());
assertTrue(auctionItemTable.getColumn("ends").isNullable());
assertThat(bidTable.getPrimaryKey().getColumnNames(), is("id"));
assertThat(bidTable.getOutgoingForeignKeys(), containsInAnyOrder(
allOf(