infinito/application/tests/Unit/Entity/Source/Combination/PersonIdentitySourceTest.php

27 lines
680 B
PHP
Raw Normal View History

2018-11-10 13:09:18 +01:00
<?php
namespace tests\unit\Entity\Source\Combination;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Data\PersonIdentitySourceInterface;
use App\Entity\Source\Data\PersonIdentitySource;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
class PersonIdentitySourceTest extends TestCase
{
/**
* @var PersonIdentitySourceInterface
*/
public $identitySource;
public function setUp(): void
{
$this->userSource = new PersonIdentitySource();
}
public function testConstructor(): void
{
$this->assertInstanceOf(FullPersonNameSourceInterface::class, $this->identitySource->getFullPersonNameSource());
}
}