@Test public void testGet() throws Exception { assertEquals(client1, model.get(0)); assertEquals(client2, model.get(1)); }
public Client get(int index) { return clientManager.get(index); }
ClientModel { public Client get(int index) { return clientManager.get(index); } }
ClientModel { public Client get(int index) { return clientManager.get(index); } ClientModel(ClientManager clientManager, TaskManager taskManager); }
ClientModel { public Client get(int index) { return clientManager.get(index); } ClientModel(ClientManager clientManager, TaskManager taskManager); void subscribe(Object listener); void unsubscribe(Object listener); Client getSelectedClient(); void selectClient(Client newClient); Client create(); int count(); Client get(int index); int indexOf(Client client); void save(Client client); void delete(Client client); int getTotalSecondsElapsed(Client client); String getTotalTimeElapsed(Client client); BigDecimal getTotalAmountEarned(Client client); String getTotalAmountEarned(Client client, Locale locale); }
ClientModel { public Client get(int index) { return clientManager.get(index); } ClientModel(ClientManager clientManager, TaskManager taskManager); void subscribe(Object listener); void unsubscribe(Object listener); Client getSelectedClient(); void selectClient(Client newClient); Client create(); int count(); Client get(int index); int indexOf(Client client); void save(Client client); void delete(Client client); int getTotalSecondsElapsed(Client client); String getTotalTimeElapsed(Client client); BigDecimal getTotalAmountEarned(Client client); String getTotalAmountEarned(Client client, Locale locale);  }