mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Renamed domain UserManagement to User
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Integration\Domain\User;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Domain\User\UserSourceDirectorServiceInterface;
|
||||
use Infinito\Entity\UserInterface;
|
||||
|
||||
/**
|
||||
* @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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user