public function IssnValidatorTest::testInvalidValueIssn

@dataProvider getInvalidValueIssn

File

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

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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