public function exists() { if (!$this->isFileExpectation) { throw new \Exception('exists() expectation should be called with expect_file()'); } a::assertFileExists($this->actual, $this->description); }