public function testDoesExistTrue() { $this->connection->getBucket(Argument::any())->willReturn(['name' => 'bucket']); $bucket = new Bucket($this->connection->reveal(), 'bucket'); $this->assertTrue($bucket->exists()); }