/**
  * Overrides the parent tearDown method.
  *
  * @return  void
  *
  * @see     PHPUnit_Framework_TestCase::tearDown()
  * @since   11.3
  */
 protected function tearDown()
 {
     // Reset some daemon inspector static settings.
     JDaemonInspector::$pcntlChildExitStatus = 0;
     JDaemonInspector::$pcntlFork = 0;
     JDaemonInspector::$pcntlSignal = true;
     JDaemonInspector::$pcntlWait = 0;
     $this->inspector->setClassInstance(null);
     $this->restoreFactoryState();
     parent::tearDown();
 }