57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
|
name: ChoiceQuestionTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ChoiceQuestion
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Question\ChoiceQuestion
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testSelectUseCases
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: multiSelect
|
||
|
- name: answers
|
||
|
- name: expected
|
||
|
- name: message
|
||
|
- name: default
|
||
|
default: 'null'
|
||
|
comment: '# * @dataProvider selectUseCases'
|
||
|
- name: selectUseCases
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNonTrimmable
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSelectAssociativeChoices
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: providedAnswer
|
||
|
- name: expectedValue
|
||
|
comment: '# * @dataProvider selectAssociativeChoicesProvider'
|
||
|
- name: selectAssociativeChoicesProvider
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSelectWithNonStringChoices
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: string
|
||
|
comment: null
|
||
|
- name: __toString
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Console\Question\ChoiceQuestion
|
||
|
interfaces: []
|