public async void Should_Success_Get_Report_POEDODuration_Excel() { GarmentDeliveryOrderFacade facade = new GarmentDeliveryOrderFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod())); var data = dataUtilDO(facade, GetCurrentMethod()).GetNewData(); await facade.Create(data, USERNAME); var Facade = new GarmentExternalPurchaseOrderFacade(ServiceProvider, _dbContext(GetCurrentMethod())); var Response = Facade.GenerateExcelEPODODuration("", "", "0-30 hari", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); var Response1 = Facade.GenerateExcelEPODODuration("", "", ">60 hari", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response1); }