@Test public void initializePresenterViewTest() { fragment.presenterView = null; fragment.initializePresenterView(); Mockito.verify(fragment).isAccountMoreThan2WeeksOld(); Mockito.verify(fragment).createTrendsAdapter(); }
@Override public void initializePresenterView() { if (this.presenterView == null) { this.presenterView = new TrendsView(getActivity(), createTrendsAdapter()); } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void initializePresenterView() { if (this.presenterView == null) { this.presenterView = new TrendsView(getActivity(), createTrendsAdapter()); } } }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void initializePresenterView() { if (this.presenterView == null) { this.presenterView = new TrendsView(getActivity(), createTrendsAdapter()); } }  }
TrendsFragment extends ControllerPresenterFragment<TrendsView> implements
        TrendFeedViewItem.OnRetry,
        TrendGraphView.AnimationCallback,
        HomeActivity.ScrollUp { @Override public void initializePresenterView() { if (this.presenterView == null) { this.presenterView = new TrendsView(getActivity(), createTrendsAdapter()); } }  @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 initializePresenterView() { if (this.presenterView == null) { this.presenterView = new TrendsView(getActivity(), createTrendsAdapter()); } }  @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();  }