private function setupWishRepository() { $this->wishRepository = new InMemoryWishRepository(); $this->dummyWish = $this->dummyUser->makeWish($this->wishRepository->nextIdentity(), '*****@*****.**', 'content'); $this->wishRepository->persist($this->dummyWish); }