name: ButtonBuilderTest
class_comment: '# * @author Alexander Cheprasov <cheprasov.84@ya.ru>'
dependencies:
- name: TestCase
  type: class
  source: PHPUnit\Framework\TestCase
- name: ButtonBuilder
  type: class
  source: Symfony\Component\Form\ButtonBuilder
- name: InvalidArgumentException
  type: class
  source: Symfony\Component\Form\Exception\InvalidArgumentException
properties: []
methods:
- name: testValidNames
  visibility: public
  parameters:
  - name: name
  comment: "# * @author Alexander Cheprasov <cheprasov.84@ya.ru>\n# */\n# class ButtonBuilderTest\
    \ extends TestCase\n# {\n# public static function getValidNames()\n# {\n# return\
    \ [\n# ['reset'],\n# ['submit'],\n# ['foo'],\n# ['0'],\n# [0],\n# ];\n# }\n# \n\
    # /**\n# * @dataProvider getValidNames"
- name: testNameContainingIllegalCharacters
  visibility: public
  parameters: []
  comment: null
- name: getInvalidNames
  visibility: public
  parameters: []
  comment: null
- name: testInvalidNames
  visibility: public
  parameters:
  - name: name
  comment: '# * @dataProvider getInvalidNames'
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Form\ButtonBuilder
- Symfony\Component\Form\Exception\InvalidArgumentException
interfaces: []