| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function testExecute() |
||
| 12 | { |
||
| 13 | $application = new Application(); |
||
| 14 | |||
| 15 | $command = $application->find('compile'); |
||
| 16 | $commandTester = new CommandTester($command); |
||
| 17 | $commandTester->execute(['command' => $command->getName(), 'path' => 'tests/PHPSA/Command/']); |
||
| 18 | |||
| 19 | self::assertContains('Memory usage:', $commandTester->getDisplay()); |
||
| 20 | } |
||
| 21 | // simple as it is |
||
| 45 |