Google\Cloud\Tests\BigQuery\QueryResultsTest::testGetsIdentity PHP Method

testGetsIdentity() public method

public testGetsIdentity ( )
    public function testGetsIdentity()
    {
        $queryResults = $this->getQueryResults($this->connection);
        $this->assertEquals($this->jobId, $queryResults->identity()['jobId']);
        $this->assertEquals($this->projectId, $queryResults->identity()['projectId']);
    }