/** * 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); }