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

testGetsTablesWithNoResults() public method

    public function testGetsTablesWithNoResults()
    {
        $this->connection->listTables(Argument::any())->willReturn([])->shouldBeCalledTimes(1);
        $dataset = $this->getDataset($this->connection);
        $tables = iterator_to_array($dataset->tables());
        $this->assertEmpty($tables);
    }