public function testRunsExportJob()
{
$destinationObject = $this->getObject();
$expectedArguments = ['projectId' => $this->projectId, 'configuration' => ['extract' => ['destinationUris' => ['gs://' . $this->bucketName . '/' . $this->fileName], 'sourceTable' => ['datasetId' => $this->datasetId, 'tableId' => $this->tableId, 'projectId' => $this->projectId]]]];
$this->connection->insertJob(Argument::exact($expectedArguments))->willReturn($this->insertJobResponse)->shouldBeCalledTimes(1);
$table = $this->getTable($this->connection);
$job = $table->export($destinationObject);
$this->assertInstanceOf(Job::class, $job);
$this->assertEquals($this->insertJobResponse, $job->info());
}