ActorDetailPresenter extends BasePresenter<ActorDetailPresenter.View> { public void onAvatarClicked(List<String> posterUrls) { getView().showPosters(posterUrls); } ActorDetailPresenter(GetActorById useCaseGetCinemaById); @Override void initialize(); @Override void onDestroy(); void setActorId(int actorId); void onAvatarClicked(List<String> posterUrls);  }
@Test public void shouldShowPostersWhenUserAvatarClicked(){ presenter.setView(view); presenter.onAvatarClicked(posterUrlsMock); verify(view , times(1)).showPosters(posterUrlsMock); }