@Test
public void testAddPageView() throws Exception {

  Activity activity = Robolectric.setupActivity(TestActivity.class);
  child = new View(activity);
  adapter.addPageView(child);
  child = new View(activity);
  adapter.addPageView(child);
  child = new View(activity);
  adapter.addPageView(child);
  assertEquals(adapter.getRealCount(),3);
}