You are here

public function LanguageValidatorTest::testValidLanguages in Plug 7

@dataProvider getValidLanguages

File

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

Class

LanguageValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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