You are here

public function IssnValidatorTest::testValidIssn in Plug 7

@dataProvider getValidIssn

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IssnValidatorTest.php, line 162

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidIssn($issn) {
  $constraint = new Issn();
  $this->validator
    ->validate($issn, $constraint);
  $this
    ->assertNoViolation();
}