Google\Cloud\Tests\BigQuery\QueryResultsTest::testGetsRowsThrowsExceptionWhenQueryNotComplete PHP Метод

testGetsRowsThrowsExceptionWhenQueryNotComplete() публичный Метод

    public function testGetsRowsThrowsExceptionWhenQueryNotComplete()
    {
        $this->queryData['jobComplete'] = false;
        unset($this->queryData['rows']);
        $this->connection->getQueryResults()->shouldNotBeCalled();
        $queryResults = $this->getQueryResults($this->connection, $this->queryData);
        $queryResults->rows()->next();
    }