PHP Class Bluz\Tests\Validator\Rule\RequiredTest

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

Protected Properties

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

Public Methods

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

testNotExists() public method

public testNotExists ( $input )

testRequired() public method

public testRequired ( $input )

Property Details

$validator protected property

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