@Test public void initializePresenterView() { fragment.presenterView = null; callInitializePresenterView(); verify(fragment).createAdapter(); }
@Override public void initializePresenterView() { if (this.presenterView == null) { this.adapter = createAdapter(); this.presenterView = new HomeView(getActivity(), this.viewPagerDelegate.getOffscreenPageLimit(), this.adapter); } }
HomePresenterFragment extends PresenterFragment<HomeView> implements
        OnBackPressedInterceptor,
        HomeTabLayout.Listener,
        TimelineFragment.ParentProvider,
        InsightInfoFragment.ParentProvider,
        Alert.ActionHandler { @Override public void initializePresenterView() { if (this.presenterView == null) { this.adapter = createAdapter(); this.presenterView = new HomeView(getActivity(), this.viewPagerDelegate.getOffscreenPageLimit(), this.adapter); } } }
HomePresenterFragment extends PresenterFragment<HomeView> implements
        OnBackPressedInterceptor,
        HomeTabLayout.Listener,
        TimelineFragment.ParentProvider,
        InsightInfoFragment.ParentProvider,
        Alert.ActionHandler { @Override public void initializePresenterView() { if (this.presenterView == null) { this.adapter = createAdapter(); this.presenterView = new HomeView(getActivity(), this.viewPagerDelegate.getOffscreenPageLimit(), this.adapter); } }  }
HomePresenterFragment extends PresenterFragment<HomeView> implements
        OnBackPressedInterceptor,
        HomeTabLayout.Listener,
        TimelineFragment.ParentProvider,
        InsightInfoFragment.ParentProvider,
        Alert.ActionHandler { @Override public void initializePresenterView() { if (this.presenterView == null) { this.adapter = createAdapter(); this.presenterView = new HomeView(getActivity(), this.viewPagerDelegate.getOffscreenPageLimit(), this.adapter); } }  static HomePresenterFragment newInstance(@Nullable final Bundle args); @Override void initializePresenterView(); @Override void onViewCreated(final View view,
                              final Bundle savedInstanceState); @Override void onPause(); @Override void onResume(); @Override boolean onInterceptBackPressed(@NonNull final Runnable defaultBehavior); @Override void scrollUp(final int fragmentPosition); @Override void tabChanged(final int fragmentPosition); @Nullable @Override Timeline getCurrentTimeline(); @Nullable @Override TimelineFragment.Parent getTimelineParent(); @Nullable @Override InsightInfoFragment.Parent provideInsightInfoParent(); @Override void handleAlert(@NonNull final Category alertCategory); void forwardNotification(@NonNull final Notification notification); void showProgressOverlay(final boolean show); void jumpToLastNight(); void checkInForUpdates(); int getCurrentTabPosition(); void selectTimelineTab(); void selectTrendsTab(); void selectFeedTab(); void selectSoundTab(); void selectConditionsTab(); }
HomePresenterFragment extends PresenterFragment<HomeView> implements
        OnBackPressedInterceptor,
        HomeTabLayout.Listener,
        TimelineFragment.ParentProvider,
        InsightInfoFragment.ParentProvider,
        Alert.ActionHandler { @Override public void initializePresenterView() { if (this.presenterView == null) { this.adapter = createAdapter(); this.presenterView = new HomeView(getActivity(), this.viewPagerDelegate.getOffscreenPageLimit(), this.adapter); } }  static HomePresenterFragment newInstance(@Nullable final Bundle args); @Override void initializePresenterView(); @Override void onViewCreated(final View view,
                              final Bundle savedInstanceState); @Override void onPause(); @Override void onResume(); @Override boolean onInterceptBackPressed(@NonNull final Runnable defaultBehavior); @Override void scrollUp(final int fragmentPosition); @Override void tabChanged(final int fragmentPosition); @Nullable @Override Timeline getCurrentTimeline(); @Nullable @Override TimelineFragment.Parent getTimelineParent(); @Nullable @Override InsightInfoFragment.Parent provideInsightInfoParent(); @Override void handleAlert(@NonNull final Category alertCategory); void forwardNotification(@NonNull final Notification notification); void showProgressOverlay(final boolean show); void jumpToLastNight(); void checkInForUpdates(); int getCurrentTabPosition(); void selectTimelineTab(); void selectTrendsTab(); void selectFeedTab(); void selectSoundTab(); void selectConditionsTab(); static final String TAG; }