### Question:
BRATTableModel extends AbstractTableModel { @Override public int getRowCount() { return d_analysis.getCriteria().size() + 2; } BRATTableModel(AnalysisType bean, Alternative subject); @Override int getColumnCount(); @Override int getRowCount(); @Override Object getValueAt(int rowIndex, int columnIndex); @Override String getColumnName(int column); @Override Class<?> getColumnClass(int columnIndex); Alternative getBaseline(); Alternative getSubject(); static final int COLUMN_BR; static final int COLUMN_CRITERIA; static final int COLUMN_OUTCOME_TYPE; static final int COLUMN_BASELINE; static final int COLUMN_SUBJECT; static final int COLUMN_DIFFERENCE; static final int COLUMN_FOREST; static final int OFFSET_LOGAXIS; static final int OFFSET_LINAXIS; }### Answer:
@Test public void testGetRowCount() { assertEquals(4, d_btmMeta.getRowCount()); assertEquals(4, d_btmMockStudy.getRowCount()); assertEquals(5, d_btmStudy.getRowCount()); }