@Test public void testWeekEventsExtractor() { List<Event> events = mExtractor.call(mEvents); assertNotNull(events); assertEquals(events.size(), 21); for (int i = 0; i < events.size(); i++) { Event event = events.get(i); assertEquals(event.getWeek(), (Integer)mWeek); } }
public WeekEventsExtractor(int week) { mWeek = week; }
WeekEventsExtractor implements Func1<List<Event>, List<Event>> { public WeekEventsExtractor(int week) { mWeek = week; } }
WeekEventsExtractor implements Func1<List<Event>, List<Event>> { public WeekEventsExtractor(int week) { mWeek = week; } WeekEventsExtractor(int week); }
WeekEventsExtractor implements Func1<List<Event>, List<Event>> { public WeekEventsExtractor(int week) { mWeek = week; } WeekEventsExtractor(int week); @Override List<Event> call(List<Event> events); }
WeekEventsExtractor implements Func1<List<Event>, List<Event>> { public WeekEventsExtractor(int week) { mWeek = week; } WeekEventsExtractor(int week); @Override List<Event> call(List<Event> events);  }