PHP Class Bluz\Tests\Validator\Rule\BetweenTest

Inheritance: extends Bluz\Tests\TestCase
Show file Open project: bluzphp/framework

Public Methods

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

Method Details

providerForComponentException() public method

providerForFail() public method

public providerForFail ( ) : array
return array

providerForPass() public method

public providerForPass ( ) : array
return array

testInvalidConstructionParamsShouldRaiseException() public method

testValuesBetweenBoundsShouldPass() public method

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

testValuesOutBoundsShouldRaiseException() public method

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