public function testToFieldValue()
{
$storageFieldValue = new StorageFieldValue();
$storageFieldValue->dataInt = 1;
$storageFieldValue->sortKeyInt = 1;
$storageFieldValue->sortKeyString = '';
$fieldValue = new FieldValue();
$this->converter->toFieldValue($storageFieldValue, $fieldValue);
self::assertSame((bool) $storageFieldValue->dataInt, $fieldValue->data);
self::assertSame($storageFieldValue->sortKeyInt, $fieldValue->sortKey);
}