Google\Cloud\Tests\Datastore\Query\GqlQueryTest::testJsonSerialize PHP Method

testJsonSerialize() public method

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