mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
24 lines
839 B
PHP
24 lines
839 B
PHP
<?php
|
|
|
|
namespace tests\Unit\Domain\Request\User;
|
|
|
|
use Infinito\Domain\Request\Right\RequestedRightServiceInterface;
|
|
use Infinito\Domain\Request\User\RequestedUserService;
|
|
use Infinito\Domain\Request\User\RequestedUserServiceInterface;
|
|
use Infinito\Domain\User\UserSourceDirectorServiceInterface;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* @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);
|
|
}
|
|
}
|