class ORMQueryBuilderLoaderTest extends TestCase
{ protected function tearDown(): void
{ if (Type::
hasType('uuid'
)) { Type::
overrideType('uuid', GuidType::
class);
} } public function testIdentifierTypeIsStringArray() { $this->
checkIdentifierType(SingleStringIdEntity::
class,
class_exists(ArrayParameterType::
class) ? ArrayParameterType::STRING : Connection::PARAM_STR_ARRAY
);
} public function testIdentifierTypeIsIntegerArray() { $this->
checkIdentifierType(SingleIntIdEntity::
class,
class_exists(ArrayParameterType::
class) ? ArrayParameterType::INTEGER : Connection::PARAM_INT_ARRAY
);
} protected function checkIdentifierType($classname,
$expectedType) { $em = DoctrineTestHelper::
createTestEntityManager();