protected function tearDown() { parent::tearDown(); file_put_contents($this->originalPath, file_get_contents($this->backupPath)); unlink($this->backupPath); }