### Question:
SearchListPresenter extends BasePresenter<SearchListContract.View> implements SearchListContract.Presenter { @Override public void getSearchList(int page, String k, boolean isShowError) { addSubscribe(mDataManager.getSearchList(page, k) .compose(RxUtils.rxSchedulerHelper()) .compose(RxUtils.handleResult()) .subscribeWith(new BaseObserver<FeedArticleListData>(mView, WanAndroidApp.getInstance().getString(R.string.failed_to_obtain_search_data_list), isShowError) { @Override public void onNext(FeedArticleListData feedArticleListData) { mView.showSearchList(feedArticleListData); } })); } @Inject  SearchListPresenter(DataManager dataManager); @Override void attachView(SearchListContract.View view); @Override void getSearchList(int page, String k, boolean isShowError); @Override void addCollectArticle(int position, FeedArticleData feedArticleData); @Override void cancelCollectArticle(int position, FeedArticleData feedArticleData); @Override boolean getNightModeState();  }### Answer:
@Test public void getSearchListSuccess() { mSearchListPresenter.getSearchList(0, "单元测试", true); Mockito.verify(mView).showSearchList(ArgumentMatchers.any(FeedArticleListData.class)); }