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