/**
* @group fieldType
* @group textBlock
* @covers \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\TextBlockConverter::toFieldValue
*/
public function testToFieldValue()
{
$storageFieldValue = new StorageFieldValue();
$storageFieldValue->dataText = $this->longText;
$storageFieldValue->sortKeyString = 'Now that we know who you are';
$fieldValue = new FieldValue();
$this->converter->toFieldValue($storageFieldValue, $fieldValue);
self::assertSame($storageFieldValue->dataText, $fieldValue->data);
self::assertSame($storageFieldValue->sortKeyString, $fieldValue->sortKey);
}