Declared layerRepositoryFactoryService as optional

This commit is contained in:
Kevin Frantz
2019-02-13 15:01:23 +01:00
parent c5413fad4d
commit 0af438479f
5 changed files with 295 additions and 247 deletions

View File

@@ -89,4 +89,12 @@ class RequestedEntityTest extends TestCase
$this->expectException(AllreadyDefinedException::class);
$requestedEntity->setIdentity('123343');
}
public function testValidateLayerRepositoryFactoryService(): void
{
$requestedEntity = new RequestedEntity();
$requestedEntity->setSlug('ABABEBA');
$this->expectException(NotSetException::class);
$requestedEntity->getEntity();
}
}