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

testGetsInfoWithReload() public method

    public function testGetsInfoWithReload()
    {
        $datasetInfo = ['friendlyName' => 'A dataset.'];
        $this->connection->getDataset(Argument::any())->willReturn($datasetInfo)->shouldBeCalledTimes(1);
        $dataset = $this->getDataset($this->connection);
        $this->assertEquals($datasetInfo, $dataset->info());
    }