You are here

public function CountryValidatorTest::testValidCountries in Plug 7

@dataProvider getValidCountries

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php, line 63

Class

CountryValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidCountries($country) {
  $this->validator
    ->validate($country, new Country());
  $this
    ->assertNoViolation();
}