public async Task SetQueueMetadataAsync_NonexistentQueue_ThrowsQueueDoesNotExistException()
        {
            IQueueServiceClient client = new QueueServiceClient(_accountSettings);
            var queueName = GenerateSampleQueueName();

            await client.SetQueueMetadataAsync(queueName, new Dictionary<string, string>());

            // expects exception
        }
        public async Task SetQueueMetadataAsync_ValidMetadata_SetsMetadataOnQueue()
        {
            IQueueServiceClient client = new QueueServiceClient(_accountSettings);
            var queueName = GenerateSampleQueueName();
            _util.CreateQueue(queueName);
            var expectedMetadata = new Dictionary<string, string>(){
                {"one", "1"},
                {"two", "2"}
            };

            await client.SetQueueMetadataAsync(queueName, expectedMetadata);

            var metadata = _util.GetQueueMetadata(queueName);
            Assert.IsNotNull(metadata);
            Assert.AreEqual(expectedMetadata.Count, metadata.Count);
            foreach (var key in expectedMetadata.Keys)
            {
                Assert.AreEqual(expectedMetadata[key], metadata[key]);
            }
        }