### Question:
MainPagerPresenter extends BasePresenter<MainPagerContract.View> implements MainPagerContract.Presenter { @Override public void getBannerData(boolean isShowError) { addSubscribe(mDataManager.getBannerData() .compose(RxUtils.rxSchedulerHelper()) .compose(RxUtils.handleResult()) .subscribeWith(new BaseObserver<List<BannerData>>(mView, WanAndroidApp.getInstance().getString(R.string.failed_to_obtain_banner_data), isShowError) { @Override public void onNext(List<BannerData> bannerDataList) { mView.showBannerData(bannerDataList); } })); } @Inject  MainPagerPresenter(DataManager dataManager); @Override void attachView(MainPagerContract.View view); @Override String getLoginAccount(); @Override String getLoginPassword(); @Override void loadMainPagerData(); @Override void autoRefresh(boolean isShowError); @Override void loadMore(); @Override void getBannerData(boolean isShowError); @Override void getFeedArticleList(boolean isShowError); @Override void loadMoreData(); @Override void addCollectArticle(int position, FeedArticleData feedArticleData); @Override void cancelCollectArticle(int position, FeedArticleData feedArticleData);  }### Answer:
@Test public void getBannerData() { mMainPagerPresenter.getBannerData(true); Mockito.verify(mView).showBannerData(ArgumentMatchers.any()); }