PHP Class Bluz\Tests\Validator\Rule\LengthTest

Inheritance: extends Bluz\Tests\TestCase
Afficher le fichier Open project: bluzphp/framework

Méthodes publiques

Méthode Description
providerForComponentException ( ) : array
providerForFail ( ) : array
providerForFailInclusive ( ) : array
providerForPass ( ) : array
testInvalidConstructorParametersShouldThrowComponentExceptionUponInstantiation ( $string, $min, $max )
testLengthInsideBoundsShouldReturnTrue ( $string, $min, $max )
testLengthOutsideBoundsShouldThrowLengthException ( $string, $min, $max )
testLengthOutsideValidBoundsShouldThrowLengthException ( $string, $min, $max )

Method Details

providerForComponentException() public méthode

public providerForComponentException ( ) : array
Résultat array

providerForFail() public méthode

public providerForFail ( ) : array
Résultat array

providerForFailInclusive() public méthode

public providerForFailInclusive ( ) : array
Résultat array

providerForPass() public méthode

public providerForPass ( ) : array
Résultat array

testInvalidConstructorParametersShouldThrowComponentExceptionUponInstantiation() public méthode

testLengthInsideBoundsShouldReturnTrue() public méthode

public testLengthInsideBoundsShouldReturnTrue ( $string, $min, $max )

testLengthOutsideBoundsShouldThrowLengthException() public méthode

public testLengthOutsideBoundsShouldThrowLengthException ( $string, $min, $max )

testLengthOutsideValidBoundsShouldThrowLengthException() public méthode