| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function assertJsonMatchesSchema($json, string $schemaPath): void |
||
| 27 | { |
||
| 28 | $validator = new Validator($json, $this->dereferencer->dereference($this->normalizeSchemaPath($schemaPath))); |
||
| 29 | |||
| 30 | static::assertThat($validator, static::validatorPasses(), new Errors($validator->errors())); |
||
| 31 | } |
||
| 32 | |||
| 50 |