| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Tarsana\Command\Examples\Tests; |
||
| 48 | public function test_it_runs_interatively() |
||
| 49 | { |
||
| 50 | $this->withStdin("Yo\n\n\n") |
||
| 51 | ->command(new RepeatCommand, ['-i']) |
||
| 52 | ->argsEqual((object) [ |
||
| 53 | 'word' => 'Yo', |
||
| 54 | 'count' => 3 |
||
| 55 | ]) |
||
| 56 | ->optionsEqual([ |
||
| 57 | '--upper' => false |
||
| 58 | ]) |
||
| 59 | ->prints("YoYoYo<br>"); |
||
| 60 | } |
||
| 63 |