public function IssnValidatorTest::testInvalidIssn

@dataProvider getInvalidIssn

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/IssnValidatorTest.php, line 211

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testInvalidIssn($issn) {
  $constraint = new Issn();
  $this->context
    ->expects($this
    ->once())
    ->method('addViolation');
  $this->validator
    ->validate($issn, $constraint);
}