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