@Test
public void onActivityChanged()
{
Activity activity = td.newActivity();
Activities activities = td.newActivities(MONTH);
activities.add(activity);
cut.onActivityChanged(td.newActivityChangedEvent(CHANGED, activity, activities));
verify(view).updateActivities(activities);
reset(view);
activities = td.newActivities(WEEK);
activities.add(activity);
cut.onActivityChanged(td.newActivityChangedEvent(CHANGED, activity, activities));
verify(view).updateActivities(activities);
reset(view);
cut.onActivityChanged(td.newActivityChangedEvent(DELETE));