/**
  * Setup for each test: creates a new ContainerBuilder,
  * registers the ValidateServiceDefinitionsPass which will validate all defined services when
  * the container is compiled
  *
  * @see AbstractExtensionTestCase::tearDown()
  */
 protected function setUp()
 {
     parent::setUp();
     foreach ($this->getContainerExtensions() as $extension) {
         $this->container->registerExtension($extension);
     }
 }
 public function setUp()
 {
     parent::setUp();
     $this->factory = $this->provideTestedFactory();
     if ($this->factory instanceof ContainerAwareInterface) {
         $this->container = new ContainerBuilder();
         $this->factory->setContainer($this->container);
     }
 }
 protected function setUp()
 {
     parent::setUp();
     $this->bundle = new NexyPayboxDirectBundle();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->registerCompilerPass($this->container);
 }