| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 25 | public function testExecute() : void |
||
| 26 | { |
||
| 27 | $container = $this->getContainer(); |
||
| 28 | |||
| 29 | $application = new Application(); |
||
| 30 | $application->addCommands($container->get('commands')); |
||
| 31 | |||
| 32 | $command = $application->find('app:roadrunner:generate-systemd-unit'); |
||
| 33 | $commandTester = new CommandTester($command); |
||
| 34 | |||
| 35 | $commandTester->execute([]); |
||
| 36 | $this->assertSame(0, $commandTester->getStatusCode()); |
||
| 37 | } |
||
| 39 |