rels.add(orderToOrderDetails());
rels.add(orderDetailsToProducts());
rels.add(orderToOrderLog());
rels.removeTable(orderDetailsTab);
assertEquals(1, rels.getAllRelationships().size());
TableRelationship r = rels.getAllRelationships().get(0);
assertSame(ordersTab, r.getParentObject());
assertSame(orderLogTab, r.getChildObject());
rels = new Relations();
rels.add(orderToOrderDetails());
rels.add(orderDetailsToProducts());
rels.add(orderToOrderLog());
rels.removeTable(ordersTab);