@Test
public void testHideLoadingOnErrorContributors() {

    doAnswer(invocation -> Observable.error(new Throwable(TestConst.TEST_ERROR)))
            .when(model)
            .getRepoContributors(TestConst.TEST_OWNER, TestConst.TEST_REPO);
    repoInfoPresenter.onCreateView(null);
    verify(mockView).hideLoading();
}