public function LuhnValidatorTest::testValidNumbers

@dataProvider getValidNumbers

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/LuhnValidatorTest.php, line 54

Class

LuhnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidNumbers($number) {
  $this->context
    ->expects($this
    ->never())
    ->method('addViolation');
  $this->validator
    ->validate($number, new Luhn());
}