### Question:
EntityTableModel extends AbstractTableModel { public Object getValueAt(int row, int column) { if (d_props.get(column).equals("name")) { return d_entities.get(row); } try { ValueModel model = d_pmf.getModel(d_entities.get(row)).getModel(d_props.get(column)); return model.getValue(); } catch (PropertyNotFoundException e) { throw new RuntimeException(e); } } EntityTableModel(Class<? extends Entity> entityType, ObservableList<? extends Entity> entities, List<String> properties, PresentationModelFactory pmf); int getColumnCount(); int getRowCount(); Object getValueAt(int row, int column); @Override String getColumnName(int columnIndex); @Override Class<?> getColumnClass(int columnIndex);  }### Answer:
@Test public void testGetValueAt() { assertEquals(d_domain.getDrugs().get(0), d_tableModel.getValueAt(0, 0)); assertEquals(d_domain.getDrugs().get(0).getAtcCode(), d_tableModel.getValueAt(0, 1)); }