public function testRegisterFieldTypeNoAlias()
{
$def = new Definition();
$fieldTypeIdentifier = 'fieldtype_identifier';
$serviceId = 'some_service_id';
$def->addTag('ezpublish.fieldType');
$this->setDefinition($serviceId, $def);
$this->compile();
$this->assertContainerBuilderHasServiceDefinitionWithMethodCall('ezpublish.api.storage_engine.legacy.factory', 'registerFieldType', array($serviceId, $fieldTypeIdentifier));
}