/// <summary>
        /// Initializes a new instance of the <see cref="RouteLogController" /> class
        /// </summary>
        /// <param name="routeLogBusinessService">Route log business service</param>
        /// <param name="loggingHelper">Logging helper</param>
        public RouteLogController(IRouteLogBusinessService routeLogBusinessService, ILoggingHelper loggingHelper)
        {
            // Validate the arguments
            if (routeLogBusinessService == null)
            {
                throw new ArgumentNullException(nameof(routeLogBusinessService));
            }
            if (loggingHelper == null)
            {
                throw new ArgumentNullException(nameof(loggingHelper));
            }


            // Store the injected dependencies
            this.routeLogBusinessService = routeLogBusinessService;
            this.loggingHelper           = loggingHelper;
        }
        protected override void OnSetup()
        {
            mockRouteLogIntegrationService = CreateMock <IRouteLogIntegrationService>();
            mockConfigurationHelper        = CreateMock <IConfigurationHelper>();
            deliveryRouteDto = new RouteDTO()
            {
            };
            loggingHelperMock = CreateMock <ILoggingHelper>();
            RouteLogSummaryDTO routeLogSummaryModelDTO = new RouteLogSummaryDTO()
            {
            };

            mockConfigurationHelper.Setup(x => x.ReadAppSettingsConfigurationValues(It.IsAny <string>())).Returns("xsltFilepath");

            mockRouteLogIntegrationService.Setup(x => x.GetRouteLog(It.IsAny <RouteDTO>())).ReturnsAsync(routeLogSummaryModelDTO);
            mockRouteLogIntegrationService.Setup(x => x.GeneratePdfDocument(It.IsAny <string>())).ReturnsAsync("<note><body>abc</body></note>");

            var rmTraceManagerMock = new Mock <IRMTraceManager>();

            rmTraceManagerMock.Setup(x => x.StartTrace(It.IsAny <string>(), It.IsAny <Guid>()));
            loggingHelperMock.Setup(x => x.RMTraceManager).Returns(rmTraceManagerMock.Object);

            testCandidate = new RouteLogBusinessService(mockRouteLogIntegrationService.Object, loggingHelperMock.Object);
        }