MatchableDataTable { public DataRow findMatching(final Map<String, Object> keyProperties) throws NoMatchingRowFoundException { return verified(findMatchingNothrow(keyProperties)); } MatchableDataTable(final DataTable dt); DataRow findMatching(final Map<String, Object> keyProperties); DataRow findMatchingNothrow(final Map<String, Object> keyProperties); DataRow findFirstUnprocessedRow(); List<DataRow> getUnprocessedRows(); void markProcessed(final DataRow dr); List<DataColumn> getColumns();  }
@Test public void findMatchingShouldBeR3() throws NoMatchingRowFoundException { DataRow matchingRow = mdt.findMatching(matchingProperties); assertEquals(r3, matchingRow); }