Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | protected function setUp(): void |
||
11 | { |
||
12 | parent::setUp(); |
||
13 | $this->definition->expects($this->any()) |
||
14 | ->method('getOptions') |
||
15 | ->will($this->returnValue([ |
||
16 | new InputOption('--no-confirmation', null, InputOption::VALUE_NONE, 'Switches off confirmation mode.'), |
||
17 | ])); |
||
18 | $this->application->expects($this->once()) |
||
19 | ->method('getHelperSet') |
||
20 | ->will($this->returnValue($this->helperSet)); |
||
21 | |||
22 | $this->command = new PurgeConsumerCommand(); |
||
23 | $this->command->setApplication($this->application); |
||
24 | } |
||
41 |