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