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