### Question:
KnowledgeHierarchyPresenter extends BasePresenter<KnowledgeHierarchyContract.View> implements KnowledgeHierarchyContract.Presenter { @Override public void getKnowledgeHierarchyData(boolean isShowError) { addSubscribe(mDataManager.getKnowledgeHierarchyData() .compose(RxUtils.rxSchedulerHelper()) .compose(RxUtils.handleResult()) .subscribeWith(new BaseObserver<List<KnowledgeHierarchyData>>(mView, WanAndroidApp.getInstance().getString(R.string.failed_to_obtain_knowledge_data), isShowError) { @Override public void onNext(List<KnowledgeHierarchyData> knowledgeHierarchyDataList) { mView.showKnowledgeHierarchyData(knowledgeHierarchyDataList); } })); } @Inject  KnowledgeHierarchyPresenter(DataManager dataManager); @Override void getKnowledgeHierarchyData(boolean isShowError);  }### Answer:
@Test public void getKnowledgeHierarchyData() { mKnowledgeHierarchyPresenter.getKnowledgeHierarchyData(true); Mockito.verify(mView).showKnowledgeHierarchyData(ArgumentMatchers.any()); }