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

81 lines
2.1 KiB
YAML

name: CurrencyValidatorTest
class_comment: null
dependencies:
- name: IntlTestHelper
type: class
source: Symfony\Component\Intl\Util\IntlTestHelper
- name: Currency
type: class
source: Symfony\Component\Validator\Constraints\Currency
- name: CurrencyValidator
type: class
source: Symfony\Component\Validator\Constraints\CurrencyValidator
- name: UnexpectedValueException
type: class
source: Symfony\Component\Validator\Exception\UnexpectedValueException
- name: ConstraintValidatorTestCase
type: class
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: tearDown
visibility: protected
parameters: []
comment: null
- name: createValidator
visibility: protected
parameters: []
comment: null
- name: testNullIsValid
visibility: public
parameters: []
comment: null
- name: testEmptyStringIsValid
visibility: public
parameters: []
comment: null
- name: testExpectsStringCompatibleType
visibility: public
parameters: []
comment: null
- name: testValidCurrencies
visibility: public
parameters:
- name: currency
comment: '# * @dataProvider getValidCurrencies'
- name: testValidCurrenciesWithCountrySpecificLocale
visibility: public
parameters:
- name: currency
comment: '# * @dataProvider getValidCurrencies
# *'
- name: getValidCurrencies
visibility: public
parameters: []
comment: null
- name: testInvalidCurrencies
visibility: public
parameters:
- name: currency
comment: '# * @dataProvider getInvalidCurrencies'
- name: testInvalidCurrenciesNamed
visibility: public
parameters:
- name: currency
comment: '# * @dataProvider getInvalidCurrencies'
- name: getInvalidCurrencies
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Intl\Util\IntlTestHelper
- Symfony\Component\Validator\Constraints\Currency
- Symfony\Component\Validator\Constraints\CurrencyValidator
- Symfony\Component\Validator\Exception\UnexpectedValueException
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
interfaces: []