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)));
}