Neos\Flow\Tests\Unit\Property\TypeConverter\MediaTypeConverterTest::convertReturnsEmptyArrayIfBodyCantBeParsed PHP Метод

convertReturnsEmptyArrayIfBodyCantBeParsed() публичный Метод

    public function convertReturnsEmptyArrayIfBodyCantBeParsed()
    {
        $actualResult = $this->mediaTypeConverter->convertFrom('<root><xmlArgument>xmlValue</xmlArgument></root>', 'array');
        $expectedResult = [];
        $this->assertSame($expectedResult, $actualResult);
    }