public function testCreateBucket()
{
$snippet = $this->snippetFromMethod(StorageClient::class, 'createBucket');
$snippet->addLocal('storage', $this->client);
$this->connection->insertBucket(Argument::any())->shouldBeCalled()->willReturn([]);
$this->client->setConnection($this->connection->reveal());
$res = $snippet->invoke('bucket');
$this->assertInstanceOf(Bucket::class, $res->returnVal());
}