public async Task DeleteWillRemoveFile() { await _queue.AddMessageAsync(new CloudQueueMessage("First test message")); var message = await _queue.GetMessageAsync(); await _queue.DeleteMessageAsync(message); var files = Directory.GetFiles(BasePath); Assert.Empty(files); }
public async Task CanGetWrittenMessage() { await _queue.AddMessageAsync(new CloudQueueMessage("Test message")); var message = await _queue.GetMessageAsync(); Assert.Equal("Test message", message.AsString); }