@Test
public void shouldDoNothingOnActivityResumedForWhileStarted() {

  repositoryAdapterWhileResumed = repositoryAdapter()
      .add(repository, repositoryPresenter)
      .add(secondRepository, secondRepositoryPresenter)
      .addAdditionalObservable(updateDispatcher)
      .whileStarted(activity);
  runUiThreadTasksIncludingDelayedTasks();
  setActivityToResumed();
}