Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class FeatureTest extends TestCase |
||
12 | { |
||
13 | protected function setUp(): void |
||
14 | { |
||
15 | Gacela::bootstrap(__DIR__, static function (GacelaConfig $config): void { |
||
16 | $config->resetInMemoryCache(); |
||
17 | }); |
||
18 | } |
||
19 | |||
20 | public function test_with_prefix(): void |
||
21 | { |
||
22 | $facade = new WithPrefix\WithPrefixFacade(); |
||
23 | |||
24 | self::assertSame( |
||
25 | ['Hello, Gacela from WithPrefix.'], |
||
26 | $facade->greet('Gacela'), |
||
27 | ); |
||
28 | } |
||
29 | |||
30 | public function test_without_prefix(): void |
||
37 | ); |
||
38 | } |
||
39 | } |
||
40 |