Google\Cloud\Tests\BigQuery\TableTest::testGetsInfoWithReload PHP Method

testGetsInfoWithReload() public method

    public function testGetsInfoWithReload()
    {
        $tableInfo = ['tableReference' => ['tableId' => $this->tableId]];
        $this->connection->getTable(Argument::any())->willReturn($tableInfo)->shouldBeCalledTimes(1);
        $table = $this->getTable($this->connection);
        $this->assertEquals($tableInfo, $table->info());
    }