infinito/application/symfony/tests/Unit/Domain/RequestManagement/RequestedUserRightFacadeServiceTest.php
2019-01-16 22:15:00 +01:00

24 lines
903 B
PHP

<?php
namespace tests\Unit\Domain\RequestManagement;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\RequestedUserRightFacadeService;
use App\Domain\UserManagement\UserSourceDirectorServiceInterface;
use App\Domain\RequestManagement\RequestedUserRightFacadeServiceInterface;
use App\Domain\RequestManagement\RequestedRightServiceInterface;
/**
* @author kevinfrantz
*/
class RequestedUserRightFacadeServiceTest extends TestCase
{
public function testConstructorSet(): void
{
$requestedRightService = $this->createMock(RequestedRightServiceInterface::class);
$userSourceDirectorService = $this->createMock(UserSourceDirectorServiceInterface::class);
$service = new RequestedUserRightFacadeService($userSourceDirectorService, $requestedRightService);
$this->assertInstanceOf(RequestedUserRightFacadeServiceInterface::class, $service);
}
}