mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
35 lines
835 B
PHP
35 lines
835 B
PHP
<?php
|
|
|
|
namespace tests\Integration\Domain\Action;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
|
use Infinito\Domain\Action\ActionDependenciesDAOServiceInterface;
|
|
use Doctrine\ORM\EntityManagerInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
class ActionServiceIntegrationTest extends KernelTestCase
|
|
{
|
|
/**
|
|
* @var ActionDependenciesDAOServiceInterface
|
|
*/
|
|
private $actionService;
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @see \PHPUnit\Framework\TestCase::setUp()
|
|
*/
|
|
public function setUp(): void
|
|
{
|
|
self::bootKernel();
|
|
$this->actionService = self::$container->get(ActionDependenciesDAOServiceInterface::class);
|
|
}
|
|
|
|
public function testEntityManager(): void
|
|
{
|
|
$this->assertInstanceOf(EntityManagerInterface::class, $this->actionService->getEntityManager());
|
|
}
|
|
}
|