public function testGetsBucketsWithoutToken()
{
$this->connection->listBuckets(Argument::any())->willReturn(['items' => [['name' => 'bucket1']]]);
$this->client->setConnection($this->connection->reveal());
$buckets = iterator_to_array($this->client->buckets());
$this->assertEquals('bucket1', $buckets[0]->name());
}