PHP Class Bluz\Tests\Validator\Rule\BetweenTest

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

Méthodes publiques

Méthode Description
providerForComponentException ( ) : array
providerForFail ( ) : array
providerForPass ( ) : array
testInvalidConstructionParamsShouldRaiseException ( $min, $max )
testValuesBetweenBoundsShouldPass ( $min, $max, $inclusive, $input )
testValuesOutBoundsShouldRaiseException ( $min, $max, $inclusive, $input )

Method Details

providerForComponentException() public méthode

public providerForComponentException ( ) : array
Résultat array

providerForFail() public méthode

public providerForFail ( ) : array
Résultat array

providerForPass() public méthode

public providerForPass ( ) : array
Résultat array

testInvalidConstructionParamsShouldRaiseException() public méthode

testValuesBetweenBoundsShouldPass() public méthode

public testValuesBetweenBoundsShouldPass ( $min, $max, $inclusive, $input )

testValuesOutBoundsShouldRaiseException() public méthode

public testValuesOutBoundsShouldRaiseException ( $min, $max, $inclusive, $input )