### Question:
KnowledgeHierarchyListPresenter extends BasePresenter<KnowledgeHierarchyListContract.View> implements KnowledgeHierarchyListContract.Presenter { @Override public void getKnowledgeHierarchyDetailData(int page, int cid, boolean isShowError) { addSubscribe(mDataManager.getKnowledgeHierarchyDetailData(page, cid) .compose(RxUtils.rxSchedulerHelper()) .compose(RxUtils.handleResult()) .subscribeWith(new BaseObserver<FeedArticleListData>(mView, WanAndroidApp.getInstance().getString(R.string.failed_to_obtain_knowledge_data), isShowError) { @Override public void onNext(FeedArticleListData feedArticleListData) { mView.showKnowledgeHierarchyDetailData(feedArticleListData); } })); } @Inject  KnowledgeHierarchyListPresenter(DataManager dataManager); @Override void attachView(KnowledgeHierarchyListContract.View view); @Override void getKnowledgeHierarchyDetailData(int page, int cid, boolean isShowError); @Override void addCollectArticle(int position, FeedArticleData feedArticleData); @Override void cancelCollectArticle(int position, FeedArticleData feedArticleData);  }### Answer:
@Test public void getKnowledgeHierarchyDetailData() { mKnowledgeHierarchyListPresenter.getKnowledgeHierarchyDetailData(0, 1010, true); Mockito.verify(mView).showKnowledgeHierarchyDetailData(ArgumentMatchers.any(FeedArticleListData.class)); }