Property | Type | Description | |
---|---|---|---|
$em | Doctrine\Common\Persistence\ObjectManager | ||
$registry | Doctrine\Common\Persistence\ManagerRegistry | ||
$repository | Doctrine\Common\Persistence\ObjectRepository | ||
$repositoryFactory |
Method | Description | |
---|---|---|
resultTypesProvider ( ) | ||
testAssociatedEntity ( ) | ||
testAssociatedEntityWithNull ( ) | ||
testDedicatedEntityManagerNullObject ( ) | ||
testEntityManagerNullObject ( ) | ||
testInvalidateRepositoryForInheritance ( ) | ||
testValidateCustomErrorPath ( ) | ||
testValidateInheritanceUniqueness ( ) | ||
testValidateResultTypes ( $entity1, $result ) | ||
testValidateUniqueness ( ) | This is a functional test as there is a large integration necessary to get the validator working. | |
testValidateUniquenessNotToStringEntityWithAssociatedEntity ( ) | ||
testValidateUniquenessUsingCustomRepositoryMethod ( ) | ||
testValidateUniquenessWithArrayValue ( ) | ||
testValidateUniquenessWithIgnoreNull ( ) | ||
testValidateUniquenessWithNull ( ) | ||
testValidateUniquenessWithUnrewoundArray ( ) | ||
testValidateUniquenessWithValidCustomErrorPath ( ) |
Method | Description | |
---|---|---|
createEntityManagerMock ( $repositoryMock ) | ||
createRegistryMock ( Doctrine\Common\Persistence\ObjectManager $em = null ) | ||
createRepositoryMock ( ) | ||
createValidator ( ) | ||
setUp ( ) |
Method | Description | |
---|---|---|
createSchema ( Doctrine\Common\Persistence\ObjectManager $em ) |
protected createRegistryMock ( Doctrine\Common\Persistence\ObjectManager $em = null ) | ||
$em | Doctrine\Common\Persistence\ObjectManager |
public testDedicatedEntityManagerNullObject ( ) |
public testInvalidateRepositoryForInheritance ( ) |
public testValidateUniqueness ( ) |
public testValidateUniquenessWithArrayValue ( ) |
public testValidateUniquenessWithIgnoreNull ( ) |
public testValidateUniquenessWithUnrewoundArray ( ) |
protected ObjectManager,Doctrine\Common\Persistence $em | ||
return | Doctrine\Common\Persistence\ObjectManager |
protected ManagerRegistry,Doctrine\Common\Persistence $registry | ||
return | Doctrine\Common\Persistence\ManagerRegistry |
protected ObjectRepository,Doctrine\Common\Persistence $repository | ||
return | Doctrine\Common\Persistence\ObjectRepository |