public async Task when_receiving_a_batch_messages_are_returned_and_can_be_completed()
        {
            var message = await MessageFactory.CreateMessageWithJsonBody();

            var receiver = new QueueBatchMessageReceiver(queueClient);
            await queueClient.SendAsync(message);

            var messages = await receiver.ReceieveMessages(1);

            Assert.That(messages, Is.Not.Null);
            Assert.That(messages.Count, Is.EqualTo(1));
            await receiver.CompleteMessages(new [] { messages.First().LockToken });
        }
        public async Task when_completing_with_empty_message_tokens_then_no_exceptions_are_thrown()
        {
            var receiver = new QueueBatchMessageReceiver(queueClient);

            await receiver.CompleteMessages(new Guid[] {});
        }