mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
22 lines
692 B
PHP
22 lines
692 B
PHP
|
<?php
|
||
|
|
||
|
namespace tests\Unit\Domain\RequestManagement\Action;
|
||
|
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
use App\Domain\RequestManagement\Right\RequestedRightServiceInterface;
|
||
|
use App\Domain\RequestManagement\Action\RequestedActionService;
|
||
|
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
|
||
|
|
||
|
/**
|
||
|
* @author kevinfrantz
|
||
|
*/
|
||
|
class RequestedActionServiceTest extends TestCase
|
||
|
{
|
||
|
public function testConstructorSet(): void
|
||
|
{
|
||
|
$requestedRightService = $this->createMock(RequestedRightServiceInterface::class);
|
||
|
$service = new RequestedActionService($requestedRightService);
|
||
|
$this->assertInstanceOf(RequestedActionServiceInterface::class, $service);
|
||
|
}
|
||
|
}
|