/**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.1
  */
 protected function tearDown()
 {
     // Reset the dispatcher instance.
     TestReflection::setValue('JDispatcher', 'instance', null);
     // Reset some web inspector static settings.
     JApplicationWebInspector::$headersSent = false;
     JApplicationWebInspector::$connectionAlive = true;
     $this->restoreFactoryState();
     parent::tearDown();
 }
 /**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.1
  */
 protected function tearDown()
 {
     // Reset the dispatcher and session instances.
     TestReflection::setValue('JEventDispatcher', 'instance', null);
     TestReflection::setValue('JSession', 'instance', null);
     // Reset some web inspector static settings.
     JApplicationWebInspector::$headersSent = false;
     JApplicationWebInspector::$connectionAlive = true;
     $_SERVER = $this->backupServer;
     $this->restoreFactoryState();
     parent::tearDown();
 }
 /**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.1
  */
 protected function tearDown()
 {
     // Reset some web inspector static settings.
     JApplicationWebInspector::$headersSent = false;
     JApplicationWebInspector::$connectionAlive = true;
     $_SERVER = $this->backupServer;
     unset($this->backupServer);
     unset($this->class);
     $this->restoreFactoryState();
     parent::tearDown();
 }