api/symfony/Component/Validator/Tests/Constraints/LuhnValidatorTest.yaml
2024-09-26 02:03:21 -07:00

63 lines
1.6 KiB
YAML

name: LuhnValidatorTest
class_comment: null
dependencies:
- name: Luhn
type: class
source: Symfony\Component\Validator\Constraints\Luhn
- name: LuhnValidator
type: class
source: Symfony\Component\Validator\Constraints\LuhnValidator
- name: UnexpectedValueException
type: class
source: Symfony\Component\Validator\Exception\UnexpectedValueException
- name: ConstraintValidatorTestCase
type: class
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
properties: []
methods:
- name: createValidator
visibility: protected
parameters: []
comment: null
- name: testNullIsValid
visibility: public
parameters: []
comment: null
- name: testEmptyStringIsValid
visibility: public
parameters: []
comment: null
- name: testValidNumbers
visibility: public
parameters:
- name: number
comment: '# * @dataProvider getValidNumbers'
- name: getValidNumbers
visibility: public
parameters: []
comment: null
- name: testInvalidNumbers
visibility: public
parameters:
- name: number
- name: code
comment: '# * @dataProvider getInvalidNumbers'
- name: getInvalidNumbers
visibility: public
parameters: []
comment: null
- name: testInvalidTypes
visibility: public
parameters:
- name: number
comment: '# * @dataProvider getInvalidTypes'
- name: getInvalidTypes
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Validator\Constraints\Luhn
- Symfony\Component\Validator\Constraints\LuhnValidator
- Symfony\Component\Validator\Exception\UnexpectedValueException
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
interfaces: []