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

Inheritance: extends AbstractValidatorTestcase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$validatorClassName

Méthodes publiques

Méthode 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 méthode

integerValidatorReturnsErrorForAnInvalidInteger() public méthode

integerValidatorReturnsNoErrorsForAValidInteger() public méthode

invalidIntegers() public méthode

Data provider with invalid integers
public invalidIntegers ( ) : array
Résultat array

validIntegers() public méthode

Data provider with valid integers
public validIntegers ( ) : array
Résultat array

validateReturnsNoErrorIfTheGivenValueIsAnEmptyString() public méthode

validateReturnsNoErrorIfTheGivenValueIsNull() public méthode

Property Details

$validatorClassName protected_oe property

protected $validatorClassName