BaseFragment extends Fragment implements View { @Override public void onStop() { super.onStop(); if (getPresenter() != null) { getPresenter().onStop(); } }  @Override void onStop(); @Override void onAttach(Activity activity); @Override void showLoading(); @Override void hideLoading();  }
@Test public void testOnStop() { baseFragment.onStop(); verify(basePresenter).onStop(); }