public function LanguageValidatorTest::testValidLanguages

@dataProvider getValidLanguages

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php, line 65

Class

LanguageValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidLanguages($language) {
  $this->context
    ->expects($this
    ->never())
    ->method('addViolation');
  $this->validator
    ->validate($language, new Language());
}