public void CanAcquireBlobLease() { var blobName = CreateNewBlob(); var result = BlobStorage.TryAcquireLease(ContainerName, blobName); Assert.IsTrue(result.IsSuccess); Assert.IsNotNullOrEmpty(result.Value); // cleanup BlobStorage.TryReleaseLease(ContainerName, blobName, result.Value); }