mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
24 lines
873 B
PHP
24 lines
873 B
PHP
<?php
|
|
|
|
namespace tests\Unit\Domain\RequestManagement;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use App\Domain\RequestManagement\RequestedUserRightService;
|
|
use App\Domain\UserManagement\UserSourceDirectorServiceInterface;
|
|
use App\Domain\RequestManagement\RequestedUserRightServiceInterface;
|
|
use App\Domain\RequestManagement\RequestedRightServiceInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
class RequestedUserRightServiceTest extends TestCase
|
|
{
|
|
public function testConstructorSet(): void
|
|
{
|
|
$requestedRightService = $this->createMock(RequestedRightServiceInterface::class);
|
|
$userSourceDirectorService = $this->createMock(UserSourceDirectorServiceInterface::class);
|
|
$service = new RequestedUserRightService($userSourceDirectorService, $requestedRightService);
|
|
$this->assertInstanceOf(RequestedUserRightServiceInterface::class, $service);
|
|
}
|
|
}
|