infinito/application/symfony/tests/Unit/Domain/RequestManagement/Action/RequestedActionServiceTest.php

24 lines
852 B
PHP
Raw Normal View History

<?php
namespace tests\Unit\Domain\RequestManagement\Action;
use PHPUnit\Framework\TestCase;
use App\Domain\RequestManagement\Action\RequestedActionService;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
2019-02-03 01:01:26 +01:00
use App\Domain\RequestManagement\User\RequestedUserServiceInterface;
use App\Domain\UserManagement\UserSourceDirectorInterface;
/**
* @author kevinfrantz
*/
class RequestedActionServiceTest extends TestCase
{
public function testConstructorSet(): void
{
2019-02-03 01:01:26 +01:00
$userSourceDirector = $this->createMock(UserSourceDirectorInterface::class);
$requestedUserService = $this->createMock(RequestedUserServiceInterface::class);
$service = new RequestedActionService($userSourceDirector, $requestedUserService);
$this->assertInstanceOf(RequestedActionServiceInterface::class, $service);
}
}