### Question:
ApodDetailPresenter extends BasePresenter<ApodDetailContract.View> implements ApodDetailContract.Presenter { @Override public void fetchApodData() { view.hideApod(); view.showProgressBar(); apodInteractor.getApodDataFromRemote(new ApodDetailsInteractor.onDetailsFetched() { @Override public void onSuccess(Apod apodFetchedData) { if(isViewAttached()){ view.hideProgressBar(); view.showApod(); view.showApodDetails(apodFetchedData); cache.saveHdUrl(apodFetchedData.getHdurl()); } } @Override public void onFailure() { if(isViewAttached()){ view.showDataFetchError(); view.hideProgressBar(); } } }); } ApodDetailPresenter(@NonNull ApodDetailContract.View view ,ApodDetailsInteractor apodInteractor, ImageCacheImpl cache); @Override void fetchApodData();  }### Answer:
@Test public void should_fetchApodDataFromWeb() { presenter.fetchApodData(); verify(interactor).getApodDataFromRemote(fetchDataCallbackCaptor.capture()); fetchDataCallbackCaptor.getValue().onSuccess(APOD_DATA); }