@Test public void onViewCreatedTest() { spyOnTrendsInteractor(); callOnViewCreated(); Mockito.verify(fragment).bindAndSubscribe(Mockito.eq(fragment.trendsInteractor.trends), Mockito.anyObject(), Mockito.anyObject()); }
@Override public void onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.trendsInteractor.trends, this::bindTrends, this::presentError); }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.trendsInteractor.trends, this::bindTrends, this::presentError); } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.trendsInteractor.trends, this::bindTrends, this::presentError); }  }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.trendsInteractor.trends, this::bindTrends, this::presentError); }  @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 onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.trendsInteractor.trends, this::bindTrends, this::presentError); }  @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();  }