### Question:
BindingTableRule { public boolean hasLogicTable(final String logicTableName) { for (TableRule each : tableRules) { if (each.getLogicTable().equalsIgnoreCase(logicTableName)) { return true; } } return false; }  boolean hasLogicTable(final String logicTableName); String getBindingActualTable(final String dataSource, final String logicTable, final String otherActualTable);  }### Answer:
@Test public void assertHasLogicTable() { assertTrue(createBindingTableRule().hasLogicTable("logicTable")); }
@Test public void assertNotHasLogicTable() { assertFalse(createBindingTableRule().hasLogicTable("newTable")); }