@Test public void shouldShowPostersWhenUserAvatarClicked(){ presenter.setView(view); presenter.onAvatarClicked(posterUrlsMock); verify(view , times(1)).showPosters(posterUrlsMock); }
public void onAvatarClicked(List<String> posterUrls) { getView().showPosters(posterUrls); }
ActorDetailPresenter extends BasePresenter<ActorDetailPresenter.View> { public void onAvatarClicked(List<String> posterUrls) { getView().showPosters(posterUrls); } }
ActorDetailPresenter extends BasePresenter<ActorDetailPresenter.View> { public void onAvatarClicked(List<String> posterUrls) { getView().showPosters(posterUrls); } ActorDetailPresenter(GetActorById useCaseGetCinemaById); }
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); }
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);  }