public function theJsonShouldBeInvalidAccordingToTheSchema($filename) { $this->checkSchemaFile($filename); $this->not(function () use($filename) { return $this->theJsonShouldBeValidAccordingToTheSchema($filename); }, "The schema was valid"); }