| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Tarsana\Command\Examples\Tests; |
||
| 22 | public function test_it_repeats_word_n_times() |
||
| 23 | { |
||
| 24 | $this->command(new RepeatCommand, ['bar', '5']) |
||
| 25 | ->argsEqual((object) [ |
||
| 26 | 'word' => 'bar', |
||
| 27 | 'count' => 5 |
||
| 28 | ]) |
||
| 29 | ->optionsEqual([ |
||
| 30 | '--upper' => false |
||
| 31 | ]) |
||
| 32 | ->printsExactly("barbarbarbarbar<br>"); |
||
| 33 | } |
||
| 63 |