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

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

Protected Properties

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

Public Methods

Method Description
setUp ( )
testAndorraNotOK ( )
testAndorraOK ( )
testCanadaMixedCasePostcode ( )
testCanadaUnusedFields ( )
testChinaOK ( )
testChinaPostalCodeBadFormat ( )
testChinaTaiwanOk ( )
testChinaTaiwanUnknownDistrict ( )
testConstraintFields ( )
testEmptyIsValid ( )
testEmptyPostalCodeReportedAsGoodFormat ( )
testGermanAddress ( )
testInvalidValueType ( )
testIrishAddress ( )
testJapan ( )
testStreetVerification ( )
testUnitedStatesNotOK ( )
testUnitedStatesOK ( )
testUnitedStatesSubdivisionPostcodePattern ( )

Protected Methods

Method Description
createValidator ( )

Method Details

createValidator() protected method

protected createValidator ( )

setUp() public method

public setUp ( )

testAndorraNotOK() public method

public testAndorraNotOK ( )

testAndorraOK() public method

public testAndorraOK ( )

testCanadaMixedCasePostcode() public method

testCanadaUnusedFields() public method

testChinaOK() public method

public testChinaOK ( )

testChinaPostalCodeBadFormat() public method

testChinaTaiwanOk() public method

public testChinaTaiwanOk ( )

testChinaTaiwanUnknownDistrict() public method

testConstraintFields() public method

testEmptyIsValid() public method

public testEmptyIsValid ( )

testEmptyPostalCodeReportedAsGoodFormat() public method

testGermanAddress() public method

public testGermanAddress ( )

testInvalidValueType() public method

testIrishAddress() public method

public testIrishAddress ( )

testJapan() public method

public testJapan ( )

testStreetVerification() public method

testUnitedStatesNotOK() public method

testUnitedStatesOK() public method

public testUnitedStatesOK ( )

testUnitedStatesSubdivisionPostcodePattern() public method

Property Details

$constraint protected property

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