TableAdapter implements ITable { @Override public int getRowCount() { return tableData.getRows().size(); } TableAdapter(final TableData tableData); @Override ITableMetaData getTableMetaData(); @Override int getRowCount(); @Override Object getValue(final int row, final String column);  }
@Test public void testGetRowCount() { assertThat(tableAdapter.getRowCount(), is(10)); }