You are here

public function IssnValidatorTest::testNullIsValid in Plug 7

File

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

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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