public async Task ThenWillPeekQueueMessagesFromService()
        {
            _asbService = new Mock <IAsbService>(MockBehavior.Strict);
            _asbService.Setup(x => x.ReceiveMessagesAsync(_queueName, _quantity)).ReturnsAsync(new List <QueueMessage>());

            var sut = new ReceiveQueueMessagesQueryHandler(_asbService.Object);

            await sut.Handle(new ReceiveQueueMessagesQuery()
            {
                QueueName = _queueName,
                Quantity  = _quantity
            });

            _asbService.Verify(x => x.ReceiveMessagesAsync(_queueName, _quantity), Times.Once);
        }
        public async Task AndTheResponseWillBeValid()
        {
            _asbService = new Mock <IAsbService>(MockBehavior.Strict);
            _asbService.Setup(x => x.ReceiveMessagesAsync(_queueName, _quantity)).ReturnsAsync(new List <QueueMessage>());

            var sut = new ReceiveQueueMessagesQueryHandler(_asbService.Object);

            var response = await sut.Handle(new ReceiveQueueMessagesQuery()
            {
                QueueName = _queueName,
                Quantity  = _quantity
            });

            response.Should().NotBeNull();
            response.Messages.Should().NotBeNull();
        }