/**
* @group fieldType
* @group url
* @covers \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\UrlConverter::toStorageValue
*/
public function testToStorageValue()
{
$value = new FieldValue();
$text = "eZ Systems";
$value->data = array("text" => $text);
$value->externalData = "http://ez.no/";
$value->sortKey = false;
$storageFieldValue = new StorageFieldValue();
$this->converter->toStorageValue($value, $storageFieldValue);
self::assertSame($text, $storageFieldValue->dataText);
}