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

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

Protected Properties

Property Type Description
$validatorClassName

Public Methods

Method Description
integerValidatorCreatesTheCorrectErrorForAnInvalidSubject ( )
integerValidatorReturnsErrorForAnInvalidInteger ( $invalidInteger )
integerValidatorReturnsNoErrorsForAValidInteger ( $integer )
invalidIntegers ( ) : array Data provider with invalid integers
validIntegers ( ) : array Data provider with valid integers
validateReturnsNoErrorIfTheGivenValueIsAnEmptyString ( )
validateReturnsNoErrorIfTheGivenValueIsNull ( )

Method Details

integerValidatorCreatesTheCorrectErrorForAnInvalidSubject() public method

integerValidatorReturnsErrorForAnInvalidInteger() public method

integerValidatorReturnsNoErrorsForAValidInteger() public method

invalidIntegers() public method

Data provider with invalid integers
public invalidIntegers ( ) : array
return array

validIntegers() public method

Data provider with valid integers
public validIntegers ( ) : array
return array

validateReturnsNoErrorIfTheGivenValueIsAnEmptyString() public method

validateReturnsNoErrorIfTheGivenValueIsNull() public method

Property Details

$validatorClassName protected property

protected $validatorClassName