@Test
public void shouldDoNothingOnActivityCreatedForWhileResumed() {

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