Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class FeatureTest extends TestCase |
||
15 | { |
||
16 | public function setUp(): void |
||
17 | { |
||
18 | Gacela::bootstrap(__DIR__); |
||
19 | } |
||
20 | |||
21 | public function test_module_a_object_facade(): void |
||
22 | { |
||
23 | $actual = (new TestStaticFacadeA())->createStringFromNonStaticFactory(); |
||
24 | |||
25 | self::assertSame(FactoryA::STR, $actual); |
||
26 | } |
||
27 | |||
28 | public function test_module_a_static_facade(): void |
||
29 | { |
||
30 | $actual = TestStaticFacadeA::createStringFromStaticFactory(); |
||
31 | |||
32 | self::assertSame(FactoryA::STR, $actual); |
||
33 | } |
||
34 | |||
35 | public function test_module_b_object_facade(): void |
||
40 | } |
||
41 | |||
42 | public function test_module_b_static_facade(): void |
||
47 | } |
||
48 | } |
||
49 |