public function testConfiguration()
 {
     $config = new Configuration();
     $config->prepend(new FrameworkConfigDefinition(), array('framework' => array('host' => 'google.com', 'secure' => true, 'port' => 443)));
     $config->prepend(new FrameworkConfigDefinition(), array(array('port' => 80)));
     $this->assertSame(array('port' => 443, 'host' => 'google.com', 'secure' => true), $config->get('framework'));
     $config->append(new FrameworkConfigDefinition(), array(array('port' => 80, 'host' => 'localhost.local')));
     $this->assertSame(array('port' => 80, 'host' => 'localhost.local', 'secure' => false), $config->get('framework'));
 }
 /**
  * Prepend configuration.
  *
  * @param array $configs
  */
 protected final function prependConfiguration(array $configs)
 {
     $this->config->prepend($this->getConfigDefinition(), $configs);
 }