private const SINGLE_ASSOC_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity';
private const SINGLE_STRING_CASTABLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringCastableIdEntity';
private const COMPOSITE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity';
private const COMPOSITE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeStringIdEntity';
private EntityManager
$em;
private MockObject&ManagerRegistry
$emRegistry;
protected function setUp(): void
{ $this->em = DoctrineTestHelper::
createTestEntityManager();
$this->emRegistry =
$this->
createRegistryMock('default',
$this->em
);
parent::
setUp();
$schemaTool =
new SchemaTool($this->em
);
$classes =
[ $this->em->
getClassMetadata(self::ITEM_GROUP_CLASS
),
$this->em->
getClassMetadata(self::SINGLE_IDENT_CLASS
),
$this->em->
getClassMetadata(self::SINGLE_IDENT_NO_TO_STRING_CLASS
),
$this->em->
getClassMetadata(self::SINGLE_STRING_IDENT_CLASS
),
$this->em->
getClassMetadata(self::SINGLE_ASSOC_IDENT_CLASS
),
$this->em->
getClassMetadata(self::SINGLE_STRING_CASTABLE_IDENT_CLASS
),