Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class JsonLoaderTest extends TestCase |
||
14 | { |
||
15 | public function testHasErrorWithWrongPath(): void |
||
16 | { |
||
17 | $path = __DIR__ . '/wrong/path/non-existing-file.json'; |
||
18 | $this->expectException(NotReadableException::class); |
||
19 | new JsonLoader($path); |
||
20 | } |
||
21 | |||
22 | public function testHasErrorWithInvalidFile(): void |
||
27 | } |
||
28 | |||
29 | public function testHasDataWithValidFile(): void |
||
36 |