RepositoryPresenter extends MvpPresenter<RepositoryView> { @Override protected void onFirstViewAttach() { super.onFirstViewAttach(); getViewState().showRepository(mRepository); updateLikes(mInProgress, mLikedIds); } RepositoryPresenter(Repository repository); void updateLikes(List<Integer> inProgress, List<Integer> likedIds);  }
@Test public void repository_shouldShwRepository() { presenter.onFirstViewAttach(); verify(repositoryViewState).showRepository(repository); verify(repositoryViewState, never()).updateLike(anyBoolean(), anyBoolean()); }