Tracker { public void add(TimeEntry entry) { entries.add(entry); }  void add(TimeEntry entry); void remove(TimeEntry entry); int size(); TimeEntry get(int index);  }
@Test public void testAdd() { TimeEntry entry = new TimeEntry(); entry.setDescription("Entry Test"); entry.setRate(80.0f); entry.setTime(3); tracker.add(entry); assertTrue(tracker.size() > 0); }