public static TwoSheetsWorkbook Setup() { var model = new TwoSheetsWorkbook(); model.FirstSheet = SimpleSheet.Setup(); model.SecondSheet = SheetWithTwoComplexCollections.Setup(); return(model); }
public static SimpleSheet Setup() { var obj = new SimpleSheet { Number = DateTime.Now.Millisecond, Text = Guid.NewGuid().ToString(), Logic = (DateTime.Now.Millisecond % 2) == 0 }; CollectionItem.Generate(10, obj.Items); return(obj); }