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

doMappingReturnsSourceUnchangedIfAlreadyConverted() public method

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