public void DeleteQueue_NonExistentQueue_ReportsError() { IQueueServiceClient client = new QueueServiceClient(_accountSettings); var queueName = GenerateSampleQueueName(); client.DeleteQueue(queueName); // expects exception }
public void DeleteQueue_ValidQueue_DeletesQueue() { IQueueServiceClient client = new QueueServiceClient(_accountSettings); var queueName = GenerateSampleQueueName(); _util.CreateQueue(queueName); client.DeleteQueue(queueName); _util.AssertQueueDoesNotExist(queueName); }