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

convertDoesNotCatchSecurityExceptions() public method

    public function convertDoesNotCatchSecurityExceptions()
    {
        $propertyMapper = $this->getAccessibleMock(PropertyMapper::class, ['doMapping']);
        $propertyMapper->expects($this->once())->method('doMapping')->with('sourceType', 'targetType', $this->mockConfiguration)->will($this->throwException(new Exception()));
        $propertyMapper->convert('sourceType', 'targetType', $this->mockConfiguration);
    }