### Question:
BenefitRiskMeasurementTableModel extends AbstractTableModel { public int getRowCount() { return d_br.getCriteria().size(); } BenefitRiskMeasurementTableModel(BenefitRiskAnalysis<Alternative> bra); int getColumnCount(); int getRowCount(); @Override boolean isCellEditable(int row, int col); @Override String getColumnName(int index); @Override Class<?> getColumnClass(int index); Object getValueAt(int rowIndex, int columnIndex); static final int EXTRA_COLUMNS; }### Answer:
@Test public void testGetRowCount() { assertEquals(d_brAnalysis.getAlternatives().size(), d_pm.getRowCount()); }