private function getContainer()
 {
     $container = new ContainerBuilder(new ParameterBag(['kernel.debug' => false, 'kernel.cache_dir' => sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'sf_cache', 'kernel.environment' => 'test', 'kernel.root_dir' => __DIR__ . '/../src']));
     $container->registerExtension(new ProophEventStoreExtension());
     $bundle = new ProophEventStoreBundle();
     $bundle->build($container);
     return $container;
 }
 private function compileContainer(ContainerBuilder $container)
 {
     $bundle = new ProophEventStoreBundle();
     $bundle->build($container);
     $container->getCompilerPassConfig()->setOptimizationPasses([new ResolveDefinitionTemplatesPass()]);
     $container->getCompilerPassConfig()->setRemovingPasses([]);
     $container->compile();
 }