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

doMappingReturnsSourceUnchangedIfAlreadyConvertedToCompositeType() public method

    public function doMappingReturnsSourceUnchangedIfAlreadyConvertedToCompositeType()
    {
        $source = new \ArrayObject();
        $targetType = 'ArrayObject<SomeEntity>';
        $propertyPath = '';
        $propertyMapper = $this->getAccessibleMock(PropertyMapper::class, ['dummy']);
        $this->assertSame($source, $propertyMapper->_callRef('doMapping', $source, $targetType, $this->mockConfiguration, $propertyPath));
    }