public function testExists()
{
$snippet = $this->snippetFromMethod(Bucket::class, 'exists');
$snippet->addLocal('bucket', $this->bucket);
$this->connection->getBucket(Argument::any())->shouldBeCalled();
$this->bucket->setConnection($this->connection->reveal());
$res = $snippet->invoke();
$this->assertEquals('Bucket exists!', $res->output());
}