ScheduleDayPresenter extends BaseFragmentPresenter<ScheduleDayMvp.View> { @Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); this.view.initSlotsList(scheduleDay.getSlots()); } ScheduleDayPresenter(ScheduleDayMvp.View view, ScheduleDay scheduleDay); @Override void onViewCreated(View view, @Nullable Bundle savedInstanceState); @Override void onResume();  }
@Test public void should_init_view_slots_when_view_is_created() { presenter.onViewCreated(null, null); verify(view).initSlotsList(slots); }