### Question:
BRRelativeMeasurementTableModel extends AbstractTableModel { @Override public String getColumnName(int index) { if (index == 0) { return "Criterion"; } return d_br.getNonBaselineAlternatives().get(index-1).getLabel(); } BRRelativeMeasurementTableModel(MetaBenefitRiskAnalysis 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);  }### Answer:
@Test public void testGetColumnNames() { List<TreatmentDefinition> drugs = getNonBaselines(); for (int i = 0; i < drugs.size(); ++i) { assertEquals(drugs.get(i).getLabel(), d_pm.getColumnName(i + 1)); } }