/**
  * Allows the internal singleton to be set and mocked.
  *
  * @param   JLanguage  $instance  A language object.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function setInstance($instance)
 {
     self::$instance = $instance;
 }