### Question:
DetailsSupportFragment extends BaseSupportFragment { public DetailsParallax getParallax() { if (mDetailsParallax == null) { mDetailsParallax = new DetailsParallax(); if (mRowsSupportFragment != null && mRowsSupportFragment.getView() != null) { mDetailsParallax.setRecyclerView(mRowsSupportFragment.getVerticalGridView()); } } return mDetailsParallax; }  void setAdapter(ObjectAdapter adapter); ObjectAdapter getAdapter(); void setOnItemViewSelectedListener(BaseOnItemViewSelectedListener listener); void setOnItemViewClickedListener(BaseOnItemViewClickedListener listener); BaseOnItemViewClickedListener getOnItemViewClickedListener(); @Override void onCreate(Bundle savedInstanceState); @Override View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState); @Override View onInflateTitleView(LayoutInflater inflater, ViewGroup parent,
                                   Bundle savedInstanceState); RowsSupportFragment getRowsSupportFragment(); void setSelectedPosition(int position); void setSelectedPosition(int position, boolean smooth); @Override void onStop(); @Override void onStart(); DetailsParallax getParallax();  }### Answer:
@Test public void parallaxSetupTest() { SingleSupportFragmentTestActivity activity = launchAndWaitActivity(DetailsSupportFragmentTest.DetailsSupportFragmentParallax.class, new SingleSupportFragmentTestBase.Options().uiVisibility( View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN), 0); double delta = 0.0002; DetailsParallax dpm = ((DetailsSupportFragment) activity.getTestFragment()).getParallax(); RecyclerViewParallax.ChildPositionProperty frameTop = (RecyclerViewParallax.ChildPositionProperty) dpm.getOverviewRowTop(); assertEquals(0f, frameTop.getFraction(), delta); assertEquals(0f, frameTop.getAdapterPosition(), delta); RecyclerViewParallax.ChildPositionProperty frameBottom = (RecyclerViewParallax.ChildPositionProperty) dpm.getOverviewRowBottom(); assertEquals(1f, frameBottom.getFraction(), delta); assertEquals(0f, frameBottom.getAdapterPosition(), delta); }