Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ExcludedNamespaceCheckerTest extends TestCase |
||
11 | { |
||
12 | private ExcludedNamespaceChecker $excludedNamespaces; |
||
13 | |||
14 | public function setUp(): void |
||
15 | { |
||
16 | $this->excludedNamespaces = new ExcludedNamespaceChecker( |
||
17 | [ |
||
18 | 'Gacela/Common', |
||
19 | 'Gacela/Utils', |
||
20 | ] |
||
21 | ); |
||
22 | } |
||
23 | |||
24 | public function test_in_excluded_namespace(): void |
||
25 | { |
||
26 | $this->assertTrue($this->excludedNamespaces->isExcludedNamespace('Gacela/Common/SomeOtherNamespace')); |
||
27 | } |
||
28 | |||
29 | public function test_not_in_excluded_namespace(): void |
||
32 | } |
||
33 | |||
34 | public function test_null_value(): void |
||
39 |