public function equalsJsonFile($file) { if (!$this->isFileExpectation) { a::assertJsonStringEqualsJsonFile($file, $this->actual, $this->description); } else { a::assertJsonFileEqualsJsonFile($file, $this->actual, $this->description); } }