Context::
createDefaultContext() );
} protected function getTestRepository(): EntityRepository
{ $definition =
$this->
registerDefinition( CustomFieldTestDefinition::
class,
CustomFieldTestTranslationDefinition::
class D;
return new EntityRepository( $definition,
$this->
getContainer()->
get(EntityReaderInterface::
class),
$this->
getContainer()->
get(VersionManager::
class),
$this->
getContainer()->
get(EntitySearcherInterface::
class),
$this->
getContainer()->
get(EntityAggregatorInterface::
class),
$this->
getContainer()->
get(EventDispatcherInterface::
class),
$this->
getContainer()->
get(EntityLoadedEventFactory::
class) );
} /**
* @param array<string, string> $attributeTypes
*/