### Question:
MetadataTableModel extends AbstractTableModel { @Override public int getColumnCount() { return 3; } MetadataTableModel(
            final List<MetaDataAndDomainData> metadataAndDomainData); @Override Class<?> getColumnClass(final int columnIndex); @Override String getColumnName(final int columnIndex); @Override int getRowCount(); @Override int getColumnCount(); @Override Object getValueAt(final int rowIndex, final int columnIndex); @Override boolean isCellEditable(final int row, final int column); void addRow(final String absPath, final String attr,
            final String value, final String unit); void deleteRow(final String absPath, final String attr,
            final String value, final String unit, final int selectedRow); void deleteRow(final int selectedRow); MetaDataAndDomainData getRow(final int row); void updateRow(final int row, final String absPath,
            final String attr, final String value, final String unit); MetaDataAndDomainData[] getMetadataToDelete(); MetaDataAndDomainData[] getMetadataToAdd(); void resetOriginalMetaDataAndDomainDataList(); static org.slf4j.Logger log; }### Answer:
@Test public void testGetColumnCount() { System.out.println("getColumnCount"); MetadataTableModel instance = new MetadataTableModel(metadataAndDomainData); int expResult = 5; int result = instance.getColumnCount(); assertEquals(expResult, result); }