public function it_echoes_a_json_hash() { $this->offsetSet('text', 'Hello!'); $this->__toString()->shouldReturn('{"text":"Hello!"}'); }