    @Test
    public void getRepoError() throws Exception {

        String owner = TestDataFactory.repoDataFactory.createOwner().login;
        String repoName = TestDataFactory.repoDataFactory.createRepoName();
        stubDataManagerGetRepo(owner, repoName, Single.error(new RuntimeException("")));

        repoPresenter.getRepo(owner, repoName);
        testScheduler.triggerActions();

        verify(mockRepoMVPView).showMessageView(false);
        verify(mockRepoMVPView).showProgress(true);
        verify(mockRepoMVPView).showProgress(false);
        verify(mockRepoMVPView).showMessageView(false);
        verify(mockRepoMVPView).showMessage(R.string.err_repo, true);
    }