Exemple #1
0
        public async Task CanDeleteQueue()
        {
            var queue = new StandaloneAzureQueue(BasePath, QueueName);
            await queue.CreateIfNotExistsAsync();

            await queue.DeleteAsync();

            Assert.False(Directory.Exists(Path.Combine(BasePath, QueueName)));
        }
Exemple #2
0
        public void WillThrowIfDeletingQueueThatDoesNotExist()
        {
            var queue = new StandaloneAzureQueue(BasePath, QueueName);

            Assert.Throws <StorageException>(() => queue.DeleteAsync());
        }