infinito/application/symfony/tests/Unit/Domain/RequestManagement/User/RequestedUserRightServiceTest.php
2019-01-20 12:54:56 +01:00

24 lines
869 B
PHP

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