public void Should_Error_Get_Tax_Report_All()
        {
            var mockFacade = new Mock <IUnitPaymentOrderFacade>();

            var mockMapper = new Mock <IMapper>();


            UnitPaymentOrderController controller = GetController(mockFacade, null, mockMapper);
            var response = controller.GetReportTax(It.IsAny <string>(), It.IsAny <string>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <int>(), It.IsAny <int>(), It.IsAny <string>());

            Assert.Equal((int)HttpStatusCode.InternalServerError, GetStatusCode(response));
        }
        public void Should_Success_Get_Tax_Report_All()
        {
            var mockFacade = new Mock <IUnitPaymentOrderFacade>();

            mockFacade.Setup(x => x.GetReportTax(It.IsAny <string>(), It.IsAny <string>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <int>(), It.IsAny <int>(), It.IsAny <string>(), It.IsAny <int>()))
            .Returns(Tuple.Create(new List <UnitPaymentOrderTaxReportViewModel>(), 5));

            var mockMapper = new Mock <IMapper>();

            UnitPaymentOrderController controller = GetController(mockFacade, null, mockMapper);
            var response = controller.GetReportTax(It.IsAny <string>(), It.IsAny <string>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <DateTime>(), It.IsAny <int>(), It.IsAny <int>(), It.IsAny <string>());

            Assert.Equal((int)HttpStatusCode.OK, GetStatusCode(response));
        }