| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class CommandTestCase extends BaseTestCase |
||
| 17 | { |
||
| 18 | private $application; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return Application |
||
| 22 | */ |
||
| 23 | protected function getApplication() |
||
| 24 | { |
||
| 25 | if (!$this->application instanceof Application) { |
||
| 26 | $this->application = new Application(); |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->application; |
||
| 30 | } |
||
| 32 |