### Question:
IRODSSearchTableModel extends AbstractTableModel { @Override public int getRowCount() { return listingEntries.size(); } IRODSSearchTableModel();  IRODSSearchTableModel(
            final List<CollectionAndDataObjectListingEntry> entries); @Override Class<?> getColumnClass(final int i); List<CollectionAndDataObjectListingEntry> getEntries(); void setEntries(
            final List<CollectionAndDataObjectListingEntry> entries); @Override int getColumnCount(); @Override String getColumnName(final int i); @Override int getRowCount(); @Override Object getValueAt(final int row, final int column); static org.slf4j.Logger log; }### Answer:
@Test public void testGetRowCount() { List<CollectionAndDataObjectListingEntry> entries = new ArrayList<CollectionAndDataObjectListingEntry>(); entries.add(Mockito.mock(CollectionAndDataObjectListingEntry.class)); IRODSSearchTableModel model = new IRODSSearchTableModel(entries); Assert.assertEquals(1, model.getRowCount()); }