public async void Should_Success_Get_Report_Data_Excel_subStaffs_Null_Parameter() { var model = await DataUtilDO.GetTestData("Unit test"); var Response = Facade.GenerateExcelSarmut(null, null, null, null, 0); Assert.IsType(typeof(System.IO.MemoryStream), Response); }
public async void Should_Success_Get_Report_Data_SubStaffs_Null_Parameter() { var model = await DataUtilDO.GetTestData("Unit test"); var Response = Facade.GetReportsubStaff(null, null, null, null, 0); Assert.NotNull(Response); }
public async void Should_Success_Get_Report_Data_Excel_subStaffs() { var model = await DataUtilDO.GetTestData("Unit test"); var Response = Facade.GenerateExcelSarmut(DateTime.MinValue, DateTime.MaxValue, null, model.CreatedBy, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }
public async void Should_Success_Get_Report_Data_SubStaffs() { var model = await DataUtilDO.GetTestData("Unit test"); var Response = Facade.GetReportsubStaff(DateTime.MinValue, DateTime.MaxValue, null, model.CreatedBy, 7); Assert.NotNull(Response); }