public async void Should_Success_Get_Report_POEDODuration_Excel_Null_Parameter() { var model = await EPODataUtil.GetTestData("Unit test"); var model2 = await DataUtil.GetTestData("Unit test"); var model3 = await DODataUtil.GetTestData3("Unit test"); var model4 = await PRDataUtil.GetTestData("Unit test"); var Response = Facade.GenerateExcelEPODODuration("", "61-90 hari", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }
public async void Should_Success_Get_Report_POExDODuration_Null_Parameter() { var model = await EPODataUtil.GetTestData("Unit test"); var model2 = await DataUtil.GetTestData("Unit test"); var model3 = await DODataUtil.GetTestData3("Unit test"); var model4 = await PRDataUtil.GetTestData("Unit test"); var Response = Facade.GetEPODODurationReport("", "61-90 hari", null, null, 1, 25, "{}", 7); Assert.NotEqual(Response.Item2, 0); }