Google\Cloud\Tests\System\BigQuery\LoadDataAndQueryTest::testInsertRowsToTable PHP Method

testInsertRowsToTable() public method

    public function testInsertRowsToTable()
    {
        $rows = [['data' => ['city' => 'Detroit', 'state' => 'MI']], ['data' => ['city' => 'Ann Arbor', 'state' => 'MI']]];
        self::$expectedRows += count($rows);
        $insertResponse = self::$table->insertRows($rows);
        $this->assertTrue($insertResponse->isSuccessful());
    }