PHP Class Neos\Flow\Tests\Unit\Validation\Validator\UniqueEntityValidatorTest

Inheritance: extends AbstractValidatorTestcase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$classSchema PHPUnit_Framework_MockObject_MockObject
$reflectionService PHPUnit_Framework_MockObject_MockObject
$validatorClassName

Public Methods

Method Description
setUp ( )
validatorThrowsExceptionIfSetupPropertiesAreNotPresentInActualClass ( )
validatorThrowsExceptionIfThereIsNoIdentityProperty ( )
validatorThrowsExceptionIfValueIsNotAFlowEntity ( )
validatorThrowsExceptionIfValueIsNotAnObject ( )
validatorThrowsExceptionIfValueIsNotReflectedAtAll ( )
validatorThrowsExceptionOnMultipleOrmIdAnnotations ( )

Protected Methods

Method Description
prepareMockExpectations ( )

Method Details

prepareMockExpectations() protected method

protected prepareMockExpectations ( )

setUp() public method

public setUp ( )

validatorThrowsExceptionIfSetupPropertiesAreNotPresentInActualClass() public method

validatorThrowsExceptionIfThereIsNoIdentityProperty() public method

validatorThrowsExceptionIfValueIsNotAFlowEntity() public method

validatorThrowsExceptionIfValueIsNotAnObject() public method

validatorThrowsExceptionIfValueIsNotReflectedAtAll() public method

validatorThrowsExceptionOnMultipleOrmIdAnnotations() public method

Property Details

$classSchema protected property

See also: Neos\Flow\Reflection\ClassSchema
protected PHPUnit_Framework_MockObject_MockObject $classSchema
return PHPUnit_Framework_MockObject_MockObject

$reflectionService protected property

See also: Neos\Flow\Reflection\ReflectionService
protected PHPUnit_Framework_MockObject_MockObject $reflectionService
return PHPUnit_Framework_MockObject_MockObject

$validatorClassName protected property

protected $validatorClassName