| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 24 | function it_can_be_thrown() | ||
| 25 |     { | ||
| 26 | $this->shouldHaveType(JsonParserErrorException::class); | ||
| 27 | $this->shouldHaveType(\Exception::class); | ||
| 28 | |||
| 29 | $this->getMessage()->shouldReturn( | ||
| 30 | 'The format of the JSON file is invalid. Please validate ' . | ||
| 31 | 'the syntax with for example "https://jsonlint.com/"' | ||
| 32 | ); | ||
| 33 | } | ||
| 34 | } | ||
| 35 |