    @Test
    public void openCityWithEmptyForecast() {

        when(mRepository.getForecast(54353, false)).thenReturn(Observable.just(new ArrayList<>()));
        when(mView.getResources()).thenReturn(mResources);
        when(mResources.getString(R.string.error)).thenReturn("Error");
        mPresenter.openCity(54353);
        verify(mRepository).getForecast(54353, false);
        ArgumentCaptor<String> errorMessage = ArgumentCaptor.forClass(String.class);
        verify(mView).showError(errorMessage.capture());
        verify(mView).showProgressBar(false);
    }