private function process(ContainerBuilder $container, array $bundles = array())
 {
     $kernel = $this->getMock('Symfony\\Component\\HttpKernel\\KernelInterface');
     $kernel->expects($this->once())->method('getBundles')->will($this->returnValue($bundles));
     $pass = new AnnotationConfigurationPass($kernel);
     $pass->process($container);
 }
 private function process(ContainerBuilder $container, array $bundles = array())
 {
     $container->setParameter('kernel.bundles', $bundles);
     $pass = new AnnotationConfigurationPass();
     $pass->process($container);
 }