@Test public void scrollUpTest() { fragment.presenterView = Mockito.spy(fragment.presenterView); fragment.scrollUp(); Mockito.verify(fragment.presenterView).scrollUp(); }
@Override public void scrollUp() { if (this.presenterView == null) { return; } this.presenterView.scrollUp(); }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void scrollUp() { if (this.presenterView == null) { return; } this.presenterView.scrollUp(); } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void scrollUp() { if (this.presenterView == null) { return; } this.presenterView.scrollUp(); }  }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void scrollUp() { if (this.presenterView == null) { return; } this.presenterView.scrollUp(); }  @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(); }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void scrollUp() { if (this.presenterView == null) { return; } this.presenterView.scrollUp(); }  @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();  }