| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class MakeExceptionCommandTest extends TestCase |
||
| 16 | { |
||
| 17 | protected function setUp(): void |
||
| 18 | { |
||
| 19 | Gacela::bootstrap(__DIR__ . '/undefined-folder/'); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function test_make_module_exception_when_composer_file_not_found(): void |
||
| 23 | { |
||
| 24 | $this->expectExceptionObject(ConsoleException::composerJsonNotFound()); |
||
| 25 | |||
| 26 | $input = new StringInput('Psr4CodeGenerator/TestModule'); |
||
| 27 | $bootstrap = new MakeModuleCommand(); |
||
| 28 | $bootstrap->run($input, new BufferedOutput()); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function test_make_file_exception_when_composer_file_not_found(): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |