/** * Overrides the parent tearDown method. * * @return void * * @see PHPUnit_Framework_TestCase::tearDown() * @since 11.1 */ protected function tearDown() { // Reset the dispatcher instance. JDispatcherInspector::setInstance(null); // Reset some web inspector static settings. JWebInspector::$headersSent = false; JWebInspector::$connectionAlive = true; $this->restoreFactoryState(); parent::tearDown(); }