Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class JSONConfigTest extends AbstractConfigTest |
||
14 | { |
||
15 | public function test_constructMissing() : void |
||
21 | } |
||
22 | |||
23 | public function test_constructInvalid() : void |
||
24 | { |
||
25 | $this->expectError(); |
||
26 | $cfg = new JSONConfig(dirname(__FILE__) . '/testdata/InvalidConfig.json'); |
||
27 | $cfg->getString('test'); |
||
28 | } |
||
29 | |||
30 | public function test_constructNull() : AbstractConfig |
||
36 | } |
||
37 | |||
38 | public function test_construct() : AbstractConfig |
||
47 |