public function theJsonShouldBeValidAccordingToTheSchema($filename) { $this->checkSchemaFile($filename); $this->inspector->validate($this->getJson(), new JsonSchema(file_get_contents($filename), 'file://' . getcwd() . '/' . $filename)); }