/**
  * Load the specified configuration file.
  *
  * @param string $filename config file name
  * @param string $path     path relative to VuFind base (optional; defaults
  * to config/vufind
  *
  * @return Config
  */
 protected function loadConfigFile($filename, $path = 'config/vufind')
 {
     // If we don't have a local config file in config/vufind, check for it in
     // config/finna and load from there if found.
     $localConfig = Locator::getLocalConfigPath($filename, $path);
     if ($localConfig === null) {
         $localConfig = Locator::getLocalConfigPath($filename, 'config/finna');
         if ($localConfig !== null) {
             return parent::loadConfigFile($filename, 'config/finna');
         }
     }
     return parent::loadConfigFile($filename, $path);
 }
 /**
  * Wrapper around factory
  *
  * @param string $name Configuration to load
  *
  * @return \Zend\Config\Config
  */
 protected function getConfig($name)
 {
     return $this->factory->createServiceWithName($this->getMock('Zend\\ServiceManager\\ServiceLocatorInterface'), $name, $name);
 }