### Question:
CheckBoxTableModel extends AbstractTableModel { @Override public boolean isCellEditable(int rowIndex, int columnIndex) { return columnIndex == 0; } CheckBoxTableModel(String checkBoxHeader, String valueHeader, Boolean initialCheckBoxState,
            Collection<? extends String> values); List<String> getCheckedValues(); @Override Class<?> getColumnClass(int columnIndex); @Override int getColumnCount(); @Override String getColumnName(int column); @Override int getRowCount(); @Override Object getValueAt(int rowIndex, int columnIndex); @Override boolean isCellEditable(int rowIndex, int columnIndex); void setCheckedValues(Collection<? extends String> values); @Override void setValueAt(Object aValue, int rowIndex, int columnIndex);  }### Answer:
@Test public void testIsCellEditable() { for (int col = 0; col < myModel.getColumnCount(); ++col) { for (int row = 0; row < myModel.getRowCount(); ++row) { Assert.assertFalse(col == 0 ^ myModel.isCellEditable(row, col)); } } }