@Test public void shouldSetCinema(){ presenter.setView(view); presenter.setCinema(any(Cinema.class)); verify(view).showCinemaContent(any(Cinema.class)); verify(view).hideLoading(); }
public void setCinema(Cinema cinema) { this.cinema = cinema; getView().showCinemaContent(cinema); getView().hideLoading(); }
CinemaDetailContentPresenter extends BasePresenter<CinemaDetailContentPresenter.View> { public void setCinema(Cinema cinema) { this.cinema = cinema; getView().showCinemaContent(cinema); getView().hideLoading(); } }
CinemaDetailContentPresenter extends BasePresenter<CinemaDetailContentPresenter.View> { public void setCinema(Cinema cinema) { this.cinema = cinema; getView().showCinemaContent(cinema); getView().hideLoading(); } CinemaDetailContentPresenter(); }
CinemaDetailContentPresenter extends BasePresenter<CinemaDetailContentPresenter.View> { public void setCinema(Cinema cinema) { this.cinema = cinema; getView().showCinemaContent(cinema); getView().hideLoading(); } CinemaDetailContentPresenter(); @Override void initialize(); void setCinema(Cinema cinema); void onDestroy(); }
CinemaDetailContentPresenter extends BasePresenter<CinemaDetailContentPresenter.View> { public void setCinema(Cinema cinema) { this.cinema = cinema; getView().showCinemaContent(cinema); getView().hideLoading(); } CinemaDetailContentPresenter(); @Override void initialize(); void setCinema(Cinema cinema); void onDestroy();  }