PHP Class Respect\Validation\Rules\CnhTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: respect/validation

Protected Properties

Property Type Description
$cnhValidator

Public Methods

Method Description
invalidCnhLengthProvider ( )
invalidCnhProvider ( )
notIntegerCnhProvider ( )
testInvalidCnh ( $cnh )
testInvalidLengthCnh ( $cnh )
testNotIntegerCnh ( $cnh )
testValidCnh ( $cnh )
validCnhProvider ( )

Protected Methods

Method Description
setUp ( )

Method Details

invalidCnhLengthProvider() public method

invalidCnhProvider() public method

public invalidCnhProvider ( )

notIntegerCnhProvider() public method

setUp() protected method

protected setUp ( )

testInvalidCnh() public method

public testInvalidCnh ( $cnh )

testInvalidLengthCnh() public method

public testInvalidLengthCnh ( $cnh )

testNotIntegerCnh() public method

public testNotIntegerCnh ( $cnh )

testValidCnh() public method

public testValidCnh ( $cnh )

validCnhProvider() public method

public validCnhProvider ( )

Property Details

$cnhValidator protected property

protected $cnhValidator