@Test public void fetchTrendsTest() { spyOnTrendsInteractor(); fragment.fetchTrends(); Mockito.verify(fragment.trendsInteractor).setTimeScale(Mockito.eq(Trends.TimeScale.LAST_WEEK)); Mockito.verify(fragment.trendsInteractor).update(); }
@Override public void fetchTrends() { this.trendsInteractor.setTimeScale(getTimeScale()); this.trendsInteractor.update(); }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void fetchTrends() { this.trendsInteractor.setTimeScale(getTimeScale()); this.trendsInteractor.update(); } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void fetchTrends() { this.trendsInteractor.setTimeScale(getTimeScale()); this.trendsInteractor.update(); }  }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void fetchTrends() { this.trendsInteractor.setTimeScale(getTimeScale()); this.trendsInteractor.update(); }  @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 fetchTrends() { this.trendsInteractor.setTimeScale(getTimeScale()); this.trendsInteractor.update(); }  @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();  }