public function makeWishNoAggregateVersion(WishId $wishId, $address, $content) { return new Wish($wishId, $this->id(), $address, $content); }
private function setupWishRepository() { $this->wishRepository = new InMemoryWishRepository(); $this->dummyWish = $this->dummyUser->makeWishNoAggregateVersion($this->wishRepository->nextIdentity(), '*****@*****.**', 'content'); $this->wishRepository->add($this->dummyWish); }