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

            var sut = new PeekQueueMessagesQueryHandler(_asbService.Object);

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

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

            var sut = new PeekQueueMessagesQueryHandler(_asbService.Object);

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

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