mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
35 lines
846 B
PHP
35 lines
846 B
PHP
<?php
|
|
|
|
namespace tests\Integration\Domain\User;
|
|
|
|
use Infinito\Domain\User\UserSourceDirectorServiceInterface;
|
|
use Infinito\Entity\UserInterface;
|
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
class UserSourceDirectorServiceIntegrationTest extends KernelTestCase
|
|
{
|
|
/**
|
|
* @var UserSourceDirectorServiceInterface
|
|
*/
|
|
private $userSourceDirectorService;
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*
|
|
* @see \PHPUnit\Framework\TestCase::setUp()
|
|
*/
|
|
public function setUp(): void
|
|
{
|
|
self::bootKernel();
|
|
$this->userSourceDirectorService = self::$container->get(UserSourceDirectorServiceInterface::class);
|
|
}
|
|
|
|
public function testCrudAccessors(): void
|
|
{
|
|
$this->assertInstanceOf(UserInterface::class, $this->userSourceDirectorService->getUser());
|
|
}
|
|
}
|