public async Task Should_Success_Get_Report_Data_Excel_Null_Parameter() { ExternalPurchaseOrder modelEPO = await EPODataUtil.GetTestDataMP("Unit test"); var Response = FacadeMP.GenerateExcel("", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }
public async Task Should_Success_Get_Report_Data_Excel() { ExternalPurchaseOrder modelEPO = await EPODataUtil.GetTestDataMP("Unit test"); var EPODtl = modelEPO.Items.First().Details.First(); var Response = FacadeMP.GenerateExcel(EPODtl.ProductName, null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }