fXmlRpc\Parser\XmlReaderParserTest::testApacheBigDecimalExtensionValue PHP Method

testApacheBigDecimalExtensionValue() public method

    public function testApacheBigDecimalExtensionValue()
    {
        $xml = '<?xml version="1.0" encoding="UTF-8"?>
            <methodResponse xmlns:ext="http://ws.apache.org/xmlrpc/namespaces/extensions">
                <params>
                    <param>
                        <value>
                            <ext:bigdecimal>-100000000000000000.1234</ext:bigdecimal>
                        </value>
                    </param>
                </params>
            </methodResponse>';
        $this->assertSame(-1.0E+17, $this->parser->parse($xml));
    }