    @Test
    public void restoreStateAndShowRepos_with_uiModel_in_cache_shouldShowRepos() {

        // Given a stubbed uiModel
        uiModel = new ReposByUsernameUI(REPOS_BY_USERNAME_UI_MAP, true /* is cached*/);

        // When
        presenter.restoreStateAndShowRepos(uiModel);

        // Then
        verify(view).showRepos(uiModel, false /*not going to top*/);
    }