public async Task GetMessageAsync_Good()
        {
            _mockMessageService.Setup(x => x.GetMessageAsync(101)).ReturnsAsync(new Message());

            var actionResult = await _target.GetMessageAsync(101);

            Assert.IsType <ActionResult <Message> >(actionResult);
            Assert.Null(actionResult.Result);
            Assert.NotNull(actionResult.Value);
        }
        //Setup methods
        private async Task <ActionResult <Message> > GetMessageAsyncActualAsync()
        {
            var message = GetMessageList().ElementAt(0);
            var mockElementsMessageRepository = new Mock <IElementsMessageRepository>();

            mockElementsMessageRepository.Setup(repository => repository.GetElementsMessageAsync("922308055", "aaed7220-2a0d-45a6-a2a4-3b24a069e08b")).ReturnsAsync(message.ElementsMessage);

            var mockDifiMessageRepository = new Mock <IDifiMessageRepository>();

            mockDifiMessageRepository.Setup(repository => repository.GetDifiMessageAsync("922308055", "aaed7220-2a0d-45a6-a2a4-3b24a069e08b")).ReturnsAsync(message.DifiMessage);

            var mockMessageMergeService = new Mock <IMessageMergeService>();

            mockMessageMergeService.Setup(service => service.MergeMessages(message.DifiMessage, message.ElementsMessage)).Returns(message);

            var messageController = new MessagesController();
            var actual            = await messageController.GetMessageAsync("922308055", "aaed7220-2a0d-45a6-a2a4-3b24a069e08b", mockMessageMergeService.Object, mockDifiMessageRepository.Object, mockElementsMessageRepository.Object);

            return(actual);
        }