Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 6 | ||
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_unknown_static_facade_method(): void |
||
22 | { |
||
23 | $this->expectExceptionMessage("Method unknown: 'unknown'"); |
||
24 | |||
25 | TestStaticFacade::unknown(); |
||
|
|||
26 | } |
||
27 | |||
28 | public function test_module_a_static_facade(): void |
||
33 | } |
||
34 | |||
35 | public function test_module_a_object_facade(): void |
||
36 | { |
||
37 | $actual = (new TestObjectFacade())->createString(); |
||
38 | |||
39 | self::assertSame(ObjectFactory::STR, $actual); |
||
40 | } |
||
41 | |||
42 | public function test_factory_static_facade_method(): void |
||
47 | } |
||
48 | } |
||
49 |