public function IsbnValidatorTest::testValidIsbn13

@dataProvider getValidIsbn13

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/IsbnValidatorTest.php, line 173

Class

IsbnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidIsbn13($isbn) {
  $constraint = new Isbn(array(
    'isbn13' => true,
  ));
  $this->context
    ->expects($this
    ->never())
    ->method('addViolation');
  $this->validator
    ->validate($isbn, $constraint);
}