### Question:
WXCirclePageAdapter extends PagerAdapter { public void removePageView(View view) { if (WXEnvironment.isApkDebugable()) { WXLogUtils.d("onPageSelected >>>> removePageView"); } views.remove(view); originalViews.remove(view); ensureShadow(); } WXCirclePageAdapter(List<View> views, boolean needLoop);  WXCirclePageAdapter();  WXCirclePageAdapter(boolean needLoop); void setLayoutDirectionRTL(boolean isRTL); void addPageView(View view); void removePageView(View view); void replacePageView(View oldView, View newView); @Override int getCount(); int getRealCount(); @Override Object instantiateItem(ViewGroup container, int position); @Override void destroyItem(ViewGroup container, int position, Object object); @Override boolean isViewFromObject(View view, Object object); @Override int getItemPosition(Object object); int getPagePosition(View page); int getItemIndex(Object object); List<View> getViews(); int getRealPosition(int shadowPosition); int getFirst(); public boolean isRTL; }### Answer:
@Test public void testRemovePageView() throws Exception { testAddPageView(); adapter.removePageView(child); assertEquals(adapter.getRealCount(),2); }