/** * @return mixed */ public function getDecodedContent() { return $this->decodedContent->getDecodedContent(); }
public function testGetEncodedContent() { $content = new DecodedContent(['attr1' => 'value1', 'attr2' => 'value2']); $this->assertSame('{"attr1":"value1","attr2":"value2"}', $content->getEncodedContent()); }