fXmlRpc\Parser\NativeParserTest::testExceptionIsThrownIfXmlIsTooBig PHP Method

testExceptionIsThrownIfXmlIsTooBig() public method

    public function testExceptionIsThrownIfXmlIsTooBig()
    {
        $parser = new NativeParser(false);
        $this->setExpectedException(ParserException::class, 'Parsing huge XML responses using libxml’s LIBXML_PARSEHUGE flag is not supported in ext/xmlrpc');
        $parser->parse(str_repeat('0', 1024 * 1024 * 10 + 1));
    }