SmallCinemasPresenter extends BasePresenter<SmallCinemasPresenter.View> { void onGetTextFromSearchField(String query) { useCaseGetCinemaByQuery.onNextQuery(query); } SmallCinemasPresenter(GetCinemaByQuery useCaseGetCinemaByQuery); @Override void initialize(); @Override void onDestroy(); void setCinemas(List<Cinema> cinemaList); void onCinemaClicked(int cinemaId , int viewHolderPosition);  }
@Test public void shouldSetQueryFromSearchFieldWhenCome(){ presenter.onGetTextFromSearchField("Predator"); verify(useCaseGetCinemaByQueryMock).onNextQuery("Predator"); }