public void CreateAndDeleteBucketTest()
{
//get a random bucketName
var bucketName = OssTestUtils.GetBucketName(_className);
//assert bucket does not exist
Assert.IsFalse(OssTestUtils.BucketExists(_ossClient, bucketName),
string.Format("Bucket {0} should not exist before creation", bucketName));
//create a new bucket
_ossClient.CreateBucket(bucketName);
OssTestUtils.WaitForCacheExpire();
Assert.IsTrue(OssTestUtils.BucketExists(_ossClient, bucketName),
string.Format("Bucket {0} should exist after creation", bucketName));
//delete the new created bucket
_ossClient.DeleteBucket(bucketName);
OssTestUtils.WaitForCacheExpire();
Assert.IsFalse(OssTestUtils.BucketExists(_ossClient, bucketName),
string.Format("Bucket {0} should not exist after deletion", bucketName));
}