public void SatisfyNothingRuleTest() { var shiftRuleManager = new ShiftRuleManager(); shiftRuleManager.SetRules(new List <IShiftRuleBase>() { new SatisfyNothingRule() }); var testShift = new EmployeeShiftItem(); var result = shiftRuleManager.IsEmployeeEligibleForShift(testShift, null); Assert.False(result); }
public ShiftCalculator() { this.ruleManager = new ShiftRuleManager(); this.plannedScheduleShifts = new List <EmployeeShiftItem>(); }