eZ\Publish\Core\Persistence\Legacy\Tests\Content\FieldValue\Converter\CountryTest::testToFieldValue PHP Method

testToFieldValue() public method

public testToFieldValue ( $dataText, $sortKeyString, $data )
    public function testToFieldValue($dataText, $sortKeyString, $data)
    {
        $storageFieldValue = new StorageFieldValue();
        $storageFieldValue->dataText = $dataText;
        $storageFieldValue->sortKeyString = $sortKeyString;
        $fieldValue = new FieldValue();
        $this->converter->toFieldValue($storageFieldValue, $fieldValue);
        self::assertSame($data, $fieldValue->data);
    }