RepoListPresenter extends SingleViewPresenter<RepoListView> { @Inject public RepoListPresenter(RepoService repoService) { this.repoService = repoService; } @Inject  RepoListPresenter(RepoService repoService); boolean isDataLoaded(); void loadData(); void createRepo();  }
@Test public void testRepoListPresenter() throws InterruptedException { assertNotNull(repoListPresenter); repoListPresenter.setView(mock(RepoListView.class)); Thread.sleep(1000); assertTrue(repoListPresenter.isDataLoaded()); }