@Override
  public void destroyItem(ViewGroup container, int position, Object object) {
    View view = (View) object;
    container.removeView(view);
  }
@Test
  public void testDestroyItem() {
    ViewGroup container = Mockito.mock(ViewGroup.class);
    View child = Mockito.mock(View.class);
    mUnderTest.destroyItem(container, 0, child);
    Mockito.verify(container).removeView(child);
  }