public function testGetsDatasetsWithoutToken()
{
$this->connection->listDatasets(Argument::any())->willReturn(['datasets' => [['datasetReference' => ['datasetId' => $this->datasetId]]]])->shouldBeCalledTimes(1);
$this->client->setConnection($this->connection->reveal());
$datasets = iterator_to_array($this->client->datasets());
$this->assertEquals($this->datasetId, $datasets[0]->id());
}