public async Task SetContainerMetadataAsync_NonLeasedContainerWithLease_ThrowsPreconditionFailureException()
        {
            IBlobServiceClient client = new BlobServiceClient(AccountSettings);
            var containerName = GenerateSampleContainerName();
            CreateContainer(containerName);

            await client.SetContainerMetadataAsync(containerName, new Dictionary<string, string>() {
                { "a", "1"},
                { "b", "2"}
            }, FakeLeaseId);

            // expects exception
        }
        public async Task SetContainerMetadataAsync_ValidContainer_SetsMetadataOnContainer()
        {
            IBlobServiceClient client = new BlobServiceClient(AccountSettings);
            var containerName = GenerateSampleContainerName();
            CreateContainer(containerName);

            await client.SetContainerMetadataAsync(containerName, new Dictionary<string, string>() {
                { "a", "1"},
                { "b", "2"}
            });

            var metadata = GetContainerMetadata(containerName);
            Assert.IsNotNull(metadata);
            Assert.AreEqual(2, metadata.Count);
            Assert.IsTrue(metadata.Any(kvp => kvp.Key == "a" && kvp.Value == "1"));
            Assert.IsTrue(metadata.Any(kvp => kvp.Key == "b" && kvp.Value == "2"));
        }