Ejemplo n.º 1
0
        public async Task Should_Success_Get_Tax_Generate_Data_Excel_Null_Parameter()
        {
            UnitPaymentOrderFacade facade = new UnitPaymentOrderFacade(GetServiceProvider(GetCurrentMethod()).Object, _dbContext(GetCurrentMethod()));
            var model = await _dataUtil(facade, GetCurrentMethod()).GetTestData();

            var Response = facade.GenerateExcelTax("", "", DateTime.MinValue, DateTime.MaxValue, DateTime.MinValue, DateTime.MaxValue, 7);

            Assert.IsType <System.IO.MemoryStream>(Response);
        }