    @Test
    public void loadContributorsEmpty() throws Exception {

        ContributorsPresenter contributorsPresenter = new ContributorsPresenter(appRepository);
        contributorsPresenter.attachView(contributorsView);

        when(githubApi.contributors(OWNER, REPO)).thenReturn(
            Observable.just(Response.success(new ArrayList<>())));

        contributorsPresenter.loadContributors(OWNER, REPO, PULL_TO_REFRESH);

        verify(contributorsView).showProgress(PULL_TO_REFRESH);
        verify(githubApi).contributors(OWNER, REPO);
        verify(contributorsView).showEmpty();

        verifyNoMoreInteractions(contributorsView);
        verifyNoMoreInteractions(githubApi);
    }