Renamed domain RequestManagement to Request

This commit is contained in:
Kevin Frantz
2019-05-30 16:52:02 +02:00
parent 9af7f47b85
commit b8029bb7cc
75 changed files with 149 additions and 149 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace tests\Integration\Domain\Request\Entity;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Infinito\Domain\Request\Entity\RequestedEntityServiceInterface;
use Infinito\Entity\Source\AbstractSource;
/**
* @author kevinfrantz
*/
class RequestedEntityServiceIntegrationTest extends KernelTestCase
{
/**
* @var RequestedEntityServiceInterface
*/
private $requestedEntityService;
/**
* {@inheritdoc}
*
* @see \PHPUnit\Framework\TestCase::setUp()
*/
public function setUp(): void
{
self::bootKernel();
$this->requestedEntityService = self::$container->get(RequestedEntityServiceInterface::class);
}
public function testClassAccessors(): void
{
$class = AbstractSource::class;
$this->assertNull($this->requestedEntityService->setClass($class));
$this->assertEquals($class, $this->requestedEntityService->getClass());
}
}