NimbleFragment extends Fragment implements NimbleView { @Override @CallSuper public void onPause() { presenter().dropView(getMvpView()); super.onPause(); }  @Override View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState); @Override @CallSuper void onResume(); @Override @CallSuper void onPause(); @Override void onDestroy(); @Override @CallSuper void onSaveInstanceState(final Bundle outState);  }
@Test public void testOnPause() throws Exception { fragment.onPause(); verify(presenter).dropView(fragment); }