You are here

public function IsbnValidatorTest::testEmptyStringIsValid in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IsbnValidatorTest.php, line 135

Class

IsbnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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