DbUnitDaleqSupport implements DaleqSupport { @Override public void assertTableInDatabase(final Table table, final FieldDef... ignoreColumns) { Preconditions.checkNotNull(table); final List<TableData> allTables = toTables(table); asserter.assertTableInDatabase(allTables, ignoreColumns); } DbUnitDaleqSupport(
            final IDataSetFactory dataSetFactory,
            final ConnectionFactory connectionFactory,
            final Asserter asserter); @Override void insertIntoDatabase(final Table... tables); @Override void cleanInsertIntoDatabase(final Table... tables); @Override void assertTableInDatabase(final Table table, final FieldDef... ignoreColumns); @Override void printTable(final Table table, final PrintStream printer);  }
@Test public void assertTable_should_delegate() throws DataSetException, SQLException { final Table table = aTable(MyTable.class).with(aRow(0)); final List<TableData> tables = toTableData(table); asserter.assertTableInDatabase(tables, MyTable.ID, MyTable.VALUE); replayAll(); daleqSupport.assertTableInDatabase(table, MyTable.ID, MyTable.VALUE); verifyAll(); }