mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-18 19:09:20 +02: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 Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||||
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
|
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
|
||||||
use Infinito\DBAL\Types\ActionType;
|
use Infinito\DBAL\Types\ActionType;
|
||||||
|
use Infinito\Domain\RequestManagement\Entity\LazyRequestedEntity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
@ -33,4 +34,9 @@ class RequestedActionServiceIntegrationTest extends KernelTestCase
|
|||||||
$this->assertNull($this->requestedActionService->setActionType($actionType));
|
$this->assertNull($this->requestedActionService->setActionType($actionType));
|
||||||
$this->assertEquals($actionType, $this->requestedActionService->getActionType());
|
$this->assertEquals($actionType, $this->requestedActionService->getActionType());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testLazyRequestedEntity(): void
|
||||||
|
{
|
||||||
|
$this->assertInstanceOf(LazyRequestedEntity::class, $this->requestedActionService->getRequestedEntity());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user