public function testCannotOverwritten()
 {
     $this->setExpectedException('\\Borobudur\\Config\\Exception\\InvalidConfigurationException');
     $config = array(array('id_type' => 'x', 'prefix' => '/p'), 'product' => array('prefix' => '/product'));
     $definition = new ConfigDefinition();
     ConfigParser::parseConfiguration($definition, $config);
 }
 /**
  * Parse config.
  *
  * @param array $configs
  *
  * @return array
  */
 public final function processConfiguration(array $configs)
 {
     return ConfigParser::parseConfiguration($this->getConfigDefinition(), $configs);
 }