public function testRegisterValueHandlerNoAlias()
{
$fieldTypeIdentifier = 'field_type_identifier';
$serviceId = 'service_id';
$def = new Definition();
$def->addTag('ezpublish.search.legacy.gateway.criterion_field_value_handler');
$this->setDefinition($serviceId, $def);
$this->compile();
$this->assertContainerBuilderHasServiceDefinitionWithMethodCall('ezpublish.search.legacy.gateway.criterion_field_value_handler.registry', 'register', array($fieldTypeIdentifier, new Reference($serviceId)));
}