name: WordCountValidatorTest class_comment: '# * @requires extension intl' dependencies: - name: WordCount type: class source: Symfony\Component\Validator\Constraints\WordCount - name: WordCountValidator type: class source: Symfony\Component\Validator\Constraints\WordCountValidator - name: UnexpectedValueException type: class source: Symfony\Component\Validator\Exception\UnexpectedValueException - name: ConstraintValidatorTestCase type: class source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase - name: StringableValue type: class source: Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue properties: [] methods: - name: testValidWordCount visibility: public parameters: - name: value - name: expectedWordCount comment: "# * @requires extension intl\n# */\n# class WordCountValidatorTest extends\ \ ConstraintValidatorTestCase\n# {\n# protected function createValidator(): WordCountValidator\n\ # {\n# return new WordCountValidator();\n# }\n# \n# /**\n# * @dataProvider provideValidValues" - name: testTooShort visibility: public parameters: [] comment: null - name: testTooLong visibility: public parameters: [] comment: null - name: testNonStringValues visibility: public parameters: - name: value comment: '# * @dataProvider provideInvalidTypes' - name: provideValidValues visibility: public parameters: [] comment: null - name: provideInvalidTypes visibility: public parameters: [] comment: null traits: - Symfony\Component\Validator\Constraints\WordCount - Symfony\Component\Validator\Constraints\WordCountValidator - Symfony\Component\Validator\Exception\UnexpectedValueException - Symfony\Component\Validator\Test\ConstraintValidatorTestCase - Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue interfaces: []