PHP Class Bluz\Tests\Validator\Rule\IntegerTest

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

Protected Properties

Property Type Description
$validator Bluz\Validator\Rule\Integer

Public Methods

Method Description
providerForFail ( ) : array
providerForPass ( ) : array
testInvalidIntegersShouldReturnFalse ( $input )
testValidIntegersShouldReturnTrue ( $input )

Protected Methods

Method Description
setUp ( ) Setup validator instance

Method Details

providerForFail() public method

public providerForFail ( ) : array
return array

providerForPass() public method

public providerForPass ( ) : array
return array

setUp() protected method

Setup validator instance
protected setUp ( )

testInvalidIntegersShouldReturnFalse() public method

testValidIntegersShouldReturnTrue() public method

Property Details

$validator protected property

protected Integer,Bluz\Validator\Rule $validator
return Bluz\Validator\Rule\Integer