protected function tearDown()
 {
     if (!is_null($this->_httpXRequestedWith)) {
         $_SERVER['HTTP_X_REQUESTED_WITH'] = $this->_httpXRequestedWith;
     }
     parent::tearDown();
 }
 public function tearDown()
 {
     Varien_Io_File::rmdirRecursive(self::$_tmpMediaDir);
     parent::tearDown();
 }