You are here

public function LanguageValidatorTest::testValidLanguages in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/LanguageValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\LanguageValidatorTest::testValidLanguages()

@dataProvider getValidLanguages

File

vendor/symfony/validator/Tests/Constraints/LanguageValidatorTest.php, line 56

Class

LanguageValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidLanguages($language) {
  $this->validator
    ->validate($language, new Language());
  $this
    ->assertNoViolation();
}