/**
* @group fieldType
* @group rating
* @covers \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\RatingConverter::toStorageValue
*/
public function testToStorageValueDisabled()
{
$value = new FieldValue();
$value->data = true;
$value->sortKey = false;
$storageFieldValue = new StorageFieldValue();
$this->converter->toStorageValue($value, $storageFieldValue);
self::assertSame(1, $storageFieldValue->dataInt);
}