/**
  * Allows public access to protected method.
  *
  * @param   string  $type  The image filter type to get.
  *
  * @return  JImageFilter
  *
  * @since   11.3
  * @throws  RuntimeException
  */
 public function getFilterInstance($type)
 {
     if ($this->mockFilter) {
         return $this->mockFilter;
     } else {
         return parent::getFilterInstance($type);
     }
 }