@Test public void onItemClick() { mPresenter.onItemClick(CITIES.get(0)); verify(mRepository).saveCity(CITIES.get(0)); }
@Override public void onItemClick(OrmCity city) { mRepository.saveCity(city); }
AddCityPresenter implements AddCityContract.Presenter { @Override public void onItemClick(OrmCity city) { mRepository.saveCity(city); } }
AddCityPresenter implements AddCityContract.Presenter { @Override public void onItemClick(OrmCity city) { mRepository.saveCity(city); } AddCityPresenter(AddCityContract.View view, RepositoryDataSource repository, FileSource fileManager,
                            Scheduler background, Scheduler main); }
AddCityPresenter implements AddCityContract.Presenter { @Override public void onItemClick(OrmCity city) { mRepository.saveCity(city); } AddCityPresenter(AddCityContract.View view, RepositoryDataSource repository, FileSource fileManager,
                            Scheduler background, Scheduler main); @Override void subscribe(); @Override void unsubscribe(); @Override void onItemClick(OrmCity city); @Override void textChanged(String text); }
AddCityPresenter implements AddCityContract.Presenter { @Override public void onItemClick(OrmCity city) { mRepository.saveCity(city); } AddCityPresenter(AddCityContract.View view, RepositoryDataSource repository, FileSource fileManager,
                            Scheduler background, Scheduler main); @Override void subscribe(); @Override void unsubscribe(); @Override void onItemClick(OrmCity city); @Override void textChanged(String text);  }