ScheduleList { public int size() { return dataset.size(); } ScheduleList(ItemChangeCallback callback); int size(); void swapData(Iterable<ScheduleItem> newDataSet); ScheduleItem get(int position); ScheduleItem getById(long scheduleId); void clear();  }
@Test public void testSize() throws Exception { assertEquals(3, scheduleList.size()); }