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

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

Protected Properties

Property Type Description
$validatorClassName

Public Methods

Method Description
stringValidatorShouldReturnErrorIfNumberIsGiven ( )
stringValidatorShouldReturnErrorIfObjectWithToStringMethodStringIsGiven ( )
stringValidatorShouldValidateString ( )
validateReturnsNoErrorIfTheGivenValueIsAnEmptyString ( )
validateReturnsNoErrorIfTheGivenValueIsNull ( )

Method Details

stringValidatorShouldReturnErrorIfNumberIsGiven() public method

stringValidatorShouldReturnErrorIfObjectWithToStringMethodStringIsGiven() public method

stringValidatorShouldValidateString() public method

validateReturnsNoErrorIfTheGivenValueIsAnEmptyString() public method

validateReturnsNoErrorIfTheGivenValueIsNull() public method

Property Details

$validatorClassName protected property

protected $validatorClassName