createMock(RequestedRightServiceInterface::class); $userSourceDirectorService = $this->createMock(UserSourceDirectorServiceInterface::class); $service = new RequestedUserRightFacadeService($userSourceDirectorService, $requestedRightService); $this->assertInstanceOf(RequestedUserRightFacadeServiceInterface::class, $service); } }