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; |
||
35 | public function test_it_repeats_word_n_times_uppercase() |
||
36 | { |
||
37 | $this->command(new RepeatCommand, ['bar', '5', '--upper']) |
||
38 | ->argsEqual((object) [ |
||
39 | 'word' => 'bar', |
||
40 | 'count' => 5 |
||
41 | ]) |
||
42 | ->optionsEqual([ |
||
43 | '--upper' => true |
||
44 | ]) |
||
45 | ->printsExactly("BARBARBARBARBAR<br>"); |
||
46 | } |
||
63 |