public function tearDown() { foreach ($this->getFiles() as $file) { unlink($file); } if (is_dir($this->folder)) { rmdir($this->folder); } }