diff --git a/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacade.php b/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacade.php index 5bb822a..56a0c7a 100644 --- a/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacade.php +++ b/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacade.php @@ -9,7 +9,7 @@ use App\Exception\SetNotPossibleException; /** * @author kevinfrantz */ -final class RequestedUserRightFacade implements RequestedUserRightFacadeInterface +class RequestedUserRightFacade implements RequestedUserRightFacadeInterface { /** * @var UserSourceDirectorInterface diff --git a/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacadeService.php b/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacadeService.php new file mode 100644 index 0000000..b096d5e --- /dev/null +++ b/application/symfony/src/Domain/RequestManagement/RequestedUserRightFacadeService.php @@ -0,0 +1,20 @@ +createMock(RequestedRightServiceInterface::class); + $userSourceDirectorService = $this->createMock(UserSourceDirectorServiceInterface::class); + $service = new RequestedUserRightFacadeService($userSourceDirectorService, $requestedRightService); + $this->assertInstanceOf(RequestedUserRightFacadeServiceInterface::class, $service); + } +}