public void FDCalendarMonthDTPassesValidMonths() { var model = new SupplementaryDataLooseModel { CalendarMonth = "10" }; var rule = new FDCalendarMonthDT(); Assert.True(rule.Execute(model)); }
public void FDCalendarMonthDTCatchesInvalidMonths() { var model = new SupplementaryDataLooseModel { CalendarMonth = null }; var rule = new FDCalendarMonthDT(); Assert.False(rule.Execute(model)); }