public function testApiDecode_DecodesJsonToArray_ForDecodeObjectFlag() { $parser = $this->createParser(JsonParser::DECODE_OBJECT); $this->assertEquals($this->getObject(), $parser->decode($this->getString())); }