mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Validated that LazyRequestedEntity is loaded in RequestedActionService
This commit is contained in:
parent
06b679db87
commit
3dbb71f885
@ -5,6 +5,7 @@ namespace tests\Integration\Domain\RequestManagement\Action;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\RequestManagement\Entity\LazyRequestedEntity;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@ -33,4 +34,9 @@ class RequestedActionServiceIntegrationTest extends KernelTestCase
|
||||
$this->assertNull($this->requestedActionService->setActionType($actionType));
|
||||
$this->assertEquals($actionType, $this->requestedActionService->getActionType());
|
||||
}
|
||||
|
||||
public function testLazyRequestedEntity(): void
|
||||
{
|
||||
$this->assertInstanceOf(LazyRequestedEntity::class, $this->requestedActionService->getRequestedEntity());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user