public async Task CanConditionallyDeleteQueue() { var queue = new StandaloneAzureQueue(BasePath, QueueName); await queue.CreateIfNotExistsAsync(); await queue.DeleteIfExistsAsync(); Assert.False(Directory.Exists(Path.Combine(BasePath, QueueName))); }
public void WillNotThrowIfConditionallyDeletingNonExistantQueue() { var queue = new StandaloneAzureQueue(BasePath, QueueName); Assert.DoesNotThrow(() => queue.DeleteIfExistsAsync()); }