/** @test **/ public function it_converts_object_to_JSON() { $expected = '[{"id":1,"name":"left","value":"up"},{"id":2,"name":"right","value":"down"}]'; $this->assertSame($expected, $this->rs->toJSON()); }
/** @test **/ public function it_converts_object_to_JSON() { $expected = '[{"id":1,"name":"left","value":"up"},{"id":2,"name":"right","value":"down"}]'; $this->assertSame($expected, $this->rs->toJSON()); }