public function testConvertJson() { $handler = $this->getHandler(); $this->assertSame(array('text' => 'Hello world!'), $handler->convert('{"text":"Hello world!"}')); }