OnboardingScreenPresenter extends OnboardingScreenContract.Presenter { @VisibleForTesting List<OnboardingPage> getPages() { return mPages; } OnboardingScreenPresenter(@NonNull final Activity activity,
            @NonNull final OnboardingScreenContract.View view); @Override void start(); @Override void stop(); @Override void setListener(@NonNull final OnboardingFragmentListener listener);  }
@Test public void should_usePhoneDefaultPages_onPhones() throws Exception { final OnboardingScreenPresenter presenter = createPresenter(false); assertThat(presenter.getPages()).containsExactlyElementsIn( DefaultPagesPhone.asArrayList()).inOrder(); }
@Test public void should_useTabletDefaultPages_onTablets() throws Exception { final OnboardingScreenPresenter presenter = createPresenter(true); assertThat(presenter.getPages()).containsExactlyElementsIn( DefaultPagesTablet.asArrayList()).inOrder(); }