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

testGetsRowsWithoutToken() public method

    public function testGetsRowsWithoutToken()
    {
        $this->connection->getQueryResults()->shouldNotBeCalled();
        $queryResults = $this->getQueryResults($this->connection, $this->queryData);
        $rows = iterator_to_array($queryResults->rows());
        $this->assertEquals('Alton', $rows[0]['first_name']);
    }