| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 19 | public function itCanBeRun(): void |
||
| 20 | { |
||
| 21 | $command = $this->container->get(GenerateEmbeddableSkeletonCommand::class); |
||
| 22 | $tester = $this->getCommandTester($command); |
||
| 23 | $tester->execute( |
||
| 24 | [ |
||
| 25 | '-' . GenerateEmbeddableSkeletonCommand::OPT_PROJECT_ROOT_PATH_SHORT => self::WORK_DIR, |
||
| 26 | '-' . GenerateEmbeddableSkeletonCommand::OPT_PROJECT_ROOT_NAMESPACE_SHORT => |
||
| 27 | self::TEST_PROJECT_ROOT_NAMESPACE, |
||
| 28 | '-' . GenerateEmbeddableSkeletonCommand::OPT_NEW_EMBEDDABLE_CATEGORY_NAME_SHORT => 'Stuff', |
||
| 29 | '-' . GenerateEmbeddableSkeletonCommand::OPT_NEW_EMBEDDABLE_NAME_SHORT => 'Thing', |
||
| 30 | ] |
||
| 31 | ); |
||
| 32 | |||
| 33 | self::assertTrue($this->qaGeneratedCode()); |
||
| 34 | } |
||
| 35 | } |