Lw\Application\Service\Wish\DeleteWishServiceTest::removeWishFromAUserThatDoesNotOwnItShouldThrowException PHP Method

removeWishFromAUserThatDoesNotOwnItShouldThrowException() public method

    public function removeWishFromAUserThatDoesNotOwnItShouldThrowException()
    {
        $wish = new Wish($this->wishRepository->nextIdentity(), $this->userRepository->nextIdentity(), '[email protected]', 'content');
        $this->wishRepository->add($wish);
        $this->deleteWishService->execute(new DeleteWishRequest($wish->id()->id(), $this->dummyUser->id()->id()));
    }