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

testDoesExistTrue() public method

public testDoesExistTrue ( )
    public function testDoesExistTrue()
    {
        $this->connection->getDataset(Argument::any())->willReturn(['datasetReference' => ['datasetId' => $this->datasetId]])->shouldBeCalledTimes(1);
        $dataset = $this->getDataset($this->connection);
        $this->assertTrue($dataset->exists());
    }