PHP Class Bluz\Tests\Validator\Rule\NumericTest

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

Protected Properties

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

Public Methods

Method Description
providerForFail ( ) : array
providerForPass ( ) : array
testNotNumeric ( $input )
testNumeric ( $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 ( )

testNotNumeric() public method

public testNotNumeric ( $input )

testNumeric() public method

public testNumeric ( $input )

Property Details

$validator protected property

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