Neos\Flow\Tests\Unit\Property\PropertyMapperTest::convertShouldAskConfigurationBuilderForDefaultConfiguration PHP Method

convertShouldAskConfigurationBuilderForDefaultConfiguration() public method

    public function convertShouldAskConfigurationBuilderForDefaultConfiguration()
    {
        $propertyMapper = $this->getAccessibleMock(PropertyMapper::class, ['dummy']);
        $converter = $this->getMockTypeConverter('string2string');
        $typeConverters = ['string' => ['string' => [10 => $converter]]];
        $propertyMapper->_set('typeConverters', $typeConverters);
        $this->assertEquals('string2string', $propertyMapper->convert('source', 'string'));
    }