@Test public void onCreateTest() { spyOnTrendsInteractor(); callOnCreate(); Mockito.verify(fragment).addInteractor(Mockito.eq(fragment.trendsInteractor)); }
@Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); addInteractor(this.trendsInteractor); }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); addInteractor(this.trendsInteractor); } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); addInteractor(this.trendsInteractor); }  }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); addInteractor(this.trendsInteractor); }  @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 onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); addInteractor(this.trendsInteractor); }  @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();  }