ActorDetailContentPresenter extends BasePresenter<ActorDetailContentPresenter.View> { @Override public void initialize() { getView().showLoading(); } ActorDetailContentPresenter(); @Override void initialize(); @Override void onDestroy(); void setActor(Actor actor); void onPhotoClicked(int position, int viewHolderPos);  }
@Test public void shouldShowLoadingWhenInitialize(){ presenter.setView(view); presenter.initialize(); verify(view , times(1)).showLoading(); }