public void TestThatCalendarMonthRule01PassesValidMonths() { var model = new SupplementaryDataModel { CalendarMonth = 10 }; var rule = new CalendarMonthRule01(); Assert.True(rule.Execute(model)); }
public void TestThatCalendarMonthRule01CatchesInvalidMonths() { var model = new SupplementaryDataModel { CalendarMonth = 16 }; var rule = new CalendarMonthRule01(); Assert.False(rule.Execute(model)); }