You are here

public function IssnValidatorTest::testEmptyStringIsValid in Plug 7

File

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

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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