You are here

public function IsbnValidatorTest::testValidIsbnAny in Plug 7

@dataProvider getValidIsbn

File

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

Class

IsbnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidIsbnAny($isbn) {
  $constraint = new Isbn();
  $this->validator
    ->validate($isbn, $constraint);
  $this
    ->assertNoViolation();
}