Google\Cloud\Tests\Snippets\BigQuery\DatasetTest::testTable PHP Method

testTable() public method

public testTable ( )
    public function testTable()
    {
        $dataset = $this->getDataset($this->connection);
        $snippet = $this->snippetFromMethod(Dataset::class, 'table');
        $snippet->addLocal('dataset', $dataset);
        $res = $snippet->invoke('table');
        $this->assertInstanceOf(Table::class, $res->returnVal());
    }