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

testBinarydataHandler() public method

    public function testBinarydataHandler()
    {
        $this->container->setParameter('ez_io.binarydata_handlers', array('my_handler' => array('name' => 'my_handler', 'type' => 'test_handler')));
        $this->binarydataConfigurationFactoryMock->expects($this->once())->method('getParentServiceId')->will($this->returnValue('test.io.binarydata_handler.test_handler'));
        $this->compile();
        $this->assertContainerBuilderHasServiceDefinitionWithParent('test.io.binarydata_handler.test_handler.my_handler', 'test.io.binarydata_handler.test_handler');
    }