StringBuffer dataSetFile = new StringBuffer();
dataSetFile.append("config").append(File.separator).append("RevokedCertificateDAO").append(File.separator).append("testUpdateRevocationTimestampOK.xml");
IDataSet expectedDataSet = new FlatXmlDataSetBuilder().build(new FileInputStream(dataSetFile.toString()));
ITable expectedTable = expectedDataSet.getTable("REVOKED_CERTIFICATE");
SortedTable expectedSortedTable = new SortedTable(expectedTable, new String[] {"issuer_id", "serial_number"});
expectedSortedTable.setUseComparable(true);
IDataSet actualDataSet = this.databaseTester.getConnection().createDataSet();
ITable actualTable = actualDataSet.getTable("REVOKED_CERTIFICATE");
ITable filteredActualTable = DefaultColumnFilter.includedColumnsTable(actualTable, expectedTable.getTableMetaData().getColumns());
SortedTable actualSortedTable = new SortedTable(filteredActualTable, new String[] {"issuer_id", "serial_number"});
actualSortedTable.setUseComparable(true);
Assertion.assertEquals(expectedSortedTable, actualSortedTable);
}