@Test
public void onResumedStartedStopppedActivity()
{
prepareGetMinutes();
ActivityChangedEvent event = td.newActivityChangedEvent(RESUMED);
cut.onActivityChanged(event);
assertSame(event.getActivity(), cut.currentActivity);
verify(view).updateStatus(cut.currentActivity);
verifyGetDurations();
reset(view, getDurationsHandler);
prepareGetMinutes();
event = td.newActivityChangedEvent(STARTED);
cut.onActivityChanged(event);
assertSame(event.getActivity(), cut.currentActivity);
verify(view).updateStatus(cut.currentActivity);
verifyGetDurations();
reset(view, getDurationsHandler);
prepareGetMinutes();
event = td.newActivityChangedEvent(STOPPED);
cut.onActivityChanged(event);
assertSame(event.getActivity(), cut.currentActivity);
verify(view).updateStatus(cut.currentActivity);
verifyGetDurations();
}