PHP Class CommerceGuys\Addressing\Tests\Validator\Constraints\CountryConstraintValidatorTest

Inheritance: extends Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest
Show file Open project: commerceguys/addressing

Protected Properties

Property Type Description
$constraint CommerceGuys\Addressing\Validator\Constraints\CountryConstraint

Public Methods

Method Description
getValidCountries ( )
setUp ( )
testEmptyIsValid ( )
testInvalidCountry ( )
testInvalidValueType ( )
testValidCountries ( $country )

Protected Methods

Method Description
createValidator ( )

Method Details

createValidator() protected method

protected createValidator ( )

getValidCountries() public method

public getValidCountries ( )

setUp() public method

public setUp ( )

testEmptyIsValid() public method

public testEmptyIsValid ( )

testInvalidCountry() public method

public testInvalidCountry ( )

testInvalidValueType() public method

testValidCountries() public method

public testValidCountries ( $country )

Property Details

$constraint protected property

protected CountryConstraint,CommerceGuys\Addressing\Validator\Constraints $constraint
return CommerceGuys\Addressing\Validator\Constraints\CountryConstraint