mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-03 18:58:01 +00:00 
			
		
		
		
	Validated that LazyRequestedEntity is loaded in RequestedActionService
This commit is contained in:
		@@ -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());
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user