Google\Cloud\Tests\BigQuery\JobTest::testGetsQueryResults PHP Method

testGetsQueryResults() public method

    public function testGetsQueryResults()
    {
        $this->connection->getQueryResults(Argument::any())->willReturn(['jobReference' => ['jobId' => $this->jobId]])->shouldBeCalledTimes(1);
        $job = $this->getJob($this->connection);
        $this->assertInstanceOf(QueryResults::class, $job->queryResults());
    }