public function IsbnValidatorTest::testValidIsbn10

@dataProvider getValidIsbn10

File

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

Class

IsbnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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