public function jsonSerialize() { return $this->queryObject(); }
public function testJsonSerialize() { $query = new GqlQuery($this->mapper, 'SELECT * FROM foo'); $this->assertEquals($query->jsonSerialize(), $query->queryObject()); }