Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class CoreTest extends BaseTest |
||
19 | { |
||
20 | public function testWelcome(): void |
||
21 | { |
||
22 | $core = $this->getCore(new StaticLocator([ |
||
23 | TestCommand::class |
||
24 | ])); |
||
25 | |||
26 | $this->assertSame( |
||
27 | 'Hello World - 0', |
||
28 | $core->run('test')->getOutput()->fetch() |
||
|
|||
29 | ); |
||
30 | |||
31 | $this->assertSame( |
||
32 | 'Hello World - 1', |
||
33 | $core->run('test')->getOutput()->fetch() |
||
34 | ); |
||
35 | } |
||
36 | |||
37 | public function testStart(): void |
||
51 | } |
||
52 | } |
||
53 |