eZ\Bundle\EzPublishIOBundle\Tests\DependencyInjection\Compiler\IOConfigurationPassTest::registerCompilerPass PHP Method

registerCompilerPass() protected method

protected registerCompilerPass ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder
    protected function registerCompilerPass(ContainerBuilder $container)
    {
        $this->metadataConfigurationFactoryMock = $this->getMock('\\eZ\\Bundle\\EzPublishIOBundle\\DependencyInjection\\ConfigurationFactory');
        $this->binarydataConfigurationFactoryMock = $this->getMock('\\eZ\\Bundle\\EzPublishIOBundle\\DependencyInjection\\ConfigurationFactory');
        $container->addCompilerPass(new IOConfigurationPass(new ArrayObject(array('test_handler' => $this->metadataConfigurationFactoryMock)), new ArrayObject(array('test_handler' => $this->binarydataConfigurationFactoryMock))));
    }