Exemplo n.º 1
0
 protected function tearDown()
 {
     parent::tearDown();
     if (is_resource($this->file)) {
         fclose($this->file);
     }
     if (file_exists($this->path)) {
         unlink($this->path);
     }
     $this->path = null;
     $this->file = null;
 }