eZ\Publish\Core\REST\Common\Tests\Input\Handler\XmlTest::testConvertInvalidXml PHP Method

testConvertInvalidXml() public method

    public function testConvertInvalidXml()
    {
        $handler = new Common\Input\Handler\Xml();
        $this->assertSame(array('text' => 'Hello world!'), $handler->convert('{"text":"Hello world!"}'));
    }