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

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

Protected Properties

Property Type Description
$validatorClassName

Public Methods

Method Description
invalidLabels ( ) : array Data provider with invalid labels
labelValidatorReturnsErrorsForInvalidLabels ( $label )
labelValidatorReturnsNoErrorForValidLabels ( $label )
validLabels ( ) : array Data provider with valid labels
validateReturnsNoErrorIfTheGivenValueIsAnEmptyString ( )
validateReturnsNoErrorIfTheGivenValueIsNull ( )

Method Details

invalidLabels() public method

Data provider with invalid labels
public invalidLabels ( ) : array
return array

labelValidatorReturnsErrorsForInvalidLabels() public method

labelValidatorReturnsNoErrorForValidLabels() public method

validLabels() public method

Data provider with valid labels
public validLabels ( ) : array
return array

validateReturnsNoErrorIfTheGivenValueIsAnEmptyString() public method

validateReturnsNoErrorIfTheGivenValueIsNull() public method

Property Details

$validatorClassName protected property

protected $validatorClassName