/**
  * {@inheritDoc}
  */
 public function load(array $configs, ContainerBuilder $container)
 {
     $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
     $processor = new Processor();
     $configuration = new Configuration();
     $config = $processor->process($configuration->getConfigTree(), $configs);
     $loader->load('services.xml');
     $this->setConfig($config, $container);
 }
 /**
  * @covers Nodrew\Bundle\DfpBundle\DependencyInjection\Configuration::getConfigTree
  */
 public function testThatCanGetConfigTree()
 {
     $configuration = new Configuration();
     $this->assertInstanceOf('Symfony\\Component\\Config\\Definition\\NodeInterface', $configuration->getConfigTree());
 }