NimbleFragment extends Fragment implements NimbleView { @Override @CallSuper public void onResume() { super.onResume(); presenter().takeView(getMvpView()); }  @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 testOnResume() throws Exception { fragment.onResume(); verify(presenter).takeView(fragment); }