eZ\Publish\Core\Base\Tests\Container\Compiler\Storage\Legacy\RoleLimitationConverterPassTest::testRegisterRoleLimitationConverter PHP Method

testRegisterRoleLimitationConverter() public method

    public function testRegisterRoleLimitationConverter()
    {
        $serviceId = 'service_id';
        $def = new Definition();
        $def->addTag('ezpublish.persistence.legacy.role.limitation.handler');
        $this->setDefinition($serviceId, $def);
        $this->compile();
        $this->assertContainerBuilderHasServiceDefinitionWithMethodCall('ezpublish.persistence.legacy.role.limitation.converter', 'addHandler', array(new Reference($serviceId)));
    }