### Question:
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @VisibleForTesting void presentError(final Throwable e) { this.presenterView.showError(); }  @Override void initializePresenterView(); @Override void onCreate(final Bundle savedInstanceState); @Override void onViewCreated(final View view, final Bundle savedInstanceState); @Override void setUserVisibleHint(final boolean isVisibleToUser); @Override void setVisibleToUser(final boolean isVisible); @Override void fetchTrends(); @Override void isFinished(); @Override void scrollUp();  }### Answer:
@Test public void presentErrorTest() { fragment.presenterView = Mockito.spy(fragment.presenterView); fragment.presentError(new Throwable()); Mockito.verify(fragment.presenterView).showError(); }