Neos\Flow\Tests\Functional\Property\PropertyMapperTest::mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet PHP Method

mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet() public method

public mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet ( Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null )
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
    public function mappingToFieldsFromSubclassThrowsExceptionIfTypeConverterOptionIsInvalidOrNotSet(PropertyMappingConfigurationInterface $configuration = null)
    {
        $source = ['__type' => Fixtures\TestEntitySubclassWithNewField::class, 'testField' => 'A horse'];
        $this->propertyMapper->convert($source, Fixtures\TestEntity::class, $configuration);
    }