You are here

public function IsbnValidatorTest::testValidIsbnAny in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/IsbnValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IsbnValidatorTest::testValidIsbnAny()

@dataProvider getValidIsbn

File

vendor/symfony/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();
}