Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function testGetQuestion() |
||
10 | { |
||
11 | $helper = new \Bowerphp\Command\Helper\QuestionHelper(); |
||
12 | $this->assertEquals('<info>This is a question</info> [<comment>default reply</comment>]: ', $helper->getQuestion('This is a question', 'default reply')->getQuestion()); |
||
13 | $this->assertEquals('<info>Another question</info>- ', $helper->getQuestion('Another question', null, '-')->getQuestion()); |
||
14 | } |
||
15 | } |
||
16 |