public function testCreatesDataset()
{
$this->connection->insertDataset(Argument::any())->willReturn(['datasetReference' => ['datasetId' => $this->datasetId]])->shouldBeCalledTimes(1);
$this->client->setConnection($this->connection->reveal());
$dataset = $this->client->createDataset($this->datasetId, ['metadata' => ['friendlyName' => 'A dataset.']]);
$this->assertInstanceOf(Dataset::class, $dataset);
}