FormSectionPagerAdapter extends PagerAdapter { @Override public int getCount() { return formSections.size(); }  @Override int getCount(); @Override boolean isViewFromObject(View view, Object object); @Override Object instantiateItem(ViewGroup container, int position); @Override void destroyItem(ViewGroup container, int position, Object object); @Override boolean equals(Object other); boolean equals(FormSectionPagerAdapter that);  }
@Test public void testCount() { assertThat(adapter.getCount(), equalTo(formSections.size())); }