WolmoFragmentHandler { void onDestroyView() { getPresenter().detachView(); } @Inject  WolmoFragmentHandler(@NonNull ToastFactory toastFactory,
	                     @NonNull Logger logger,
	                     @NonNull T presenter); @NonNull T getPresenter();  }
@Test public void detachesPresenterOnDestroyView() { mWolmoFragmentHandler.onDestroyView(); verify(mTestPresenter, times(1)).detachView(); }