@Test
public void testCheckCreated() {
// given a table to which a check constraint was added
DBTable table1 = createTableWithColumns("tbl", 2);
DBTable table2 = createTableWithColumns("tbl", 2);
new DBCheckConstraint("check1", false, table2, "col1 > 0");
SchemaChange schemaChange = new SchemaChange(config);
// when comparing the tables
new TableComparator(config).compareObjects(table1, table2, schemaChange);
// then the result must be a foreign key creation
System.out.println(schemaChange);