Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function test_find_all_app_modules(): void |
||
15 | { |
||
16 | Gacela::bootstrap(__DIR__); |
||
17 | |||
18 | $facade = new ConsoleFacade(); |
||
19 | $actual = $facade->findAllAppModules(); |
||
20 | |||
21 | $expected = [ |
||
22 | new AppModule( |
||
23 | 'IntegrationAppModulesFacade1', |
||
24 | 'GacelaTest\Integration\Console\AllAppModules\Domain\Namespace1\Level1', |
||
25 | ), |
||
26 | new AppModule( |
||
27 | 'IntegrationAppModulesFacade2', |
||
28 | 'GacelaTest\Integration\Console\AllAppModules\Domain\Namespace1\Level1', |
||
29 | ), |
||
30 | ]; |
||
31 | |||
32 | self::assertEquals($expected, $actual); |
||
33 | } |
||
35 |