public function tearDown() { if (is_scalar($this->tmpFile) && file_exists($this->tmpFile)) { unlink($this->tmpFile); } }