/**
  * 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 the loaded plugins.
     JPluginHelperInspector::setPlugins(null);
     parent::tearDown();
 }
 /**
  * Allows the internal plugins store to be set and mocked.
  *
  * @param   mixed  $plugins  The value to set.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function setPlugins($plugins)
 {
     self::$plugins = $plugins;
 }