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