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

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

Protected Properties

Property Type Description
$validatorClassName

Public Methods

Method Description
regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch ( )
regularExpressionValidatorMatchesABasicExpressionCorrectly ( )
setUp ( ) Looks empty - and that's the purpose: do not run the parent's setUp().
validateReturnsNoErrorIfTheGivenValueIsAnEmptyString ( )
validateReturnsNoErrorIfTheGivenValueIsNull ( )
validateThrowsExceptionIfExpressionIsEmpty ( )

Method Details

regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch() public method

regularExpressionValidatorMatchesABasicExpressionCorrectly() public method

setUp() public method

Looks empty - and that's the purpose: do not run the parent's setUp().
public setUp ( )

validateReturnsNoErrorIfTheGivenValueIsAnEmptyString() public method

validateReturnsNoErrorIfTheGivenValueIsNull() public method

validateThrowsExceptionIfExpressionIsEmpty() public method

Property Details

$validatorClassName protected property

protected $validatorClassName