Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
CommerceGuys
Addressing
Tests
Validator
Constraints
CountryConstraintValidatorTest
PHP Class CommerceGuys\Addressing\Tests\Validator\Constraints\CountryConstraintValidatorTest
Inheritance:
extends
Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest
Mostra 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
public
testInvalidValueType
( )
testValidCountries()
public
method
public
testValidCountries
(
$country
)
Property Details
$constraint
protected_oe property
protected
CountryConstraint,CommerceGuys\Addressing\Validator\Constraints
$constraint
return
CommerceGuys\Addressing\Validator\Constraints\CountryConstraint