public void SetWeekendAsWorkingDaysAndMondayAsANonWorkingDay()
        {
            WorkingDaysCalendar calendar = new WorkingDaysCalendar();

            calendar.AddDayOfWeekAsWorkingDay(DayOfWeek.Saturday);
            calendar.AddDayOfWeekAsWorkingDay(DayOfWeek.Sunday);
            calendar.AddDayOfWeekAsNonWorkingDay(DayOfWeek.Monday);

            DateTime saturday = new DateTime(2012, 3, 10);
            Assert.AreEqual(saturday.DayOfWeek, DayOfWeek.Saturday);

            Assert.IsTrue(calendar.IsWorkingDay(saturday));
            Assert.IsTrue(calendar.IsWorkingDay(saturday.AddDays(1)));
            Assert.IsFalse(calendar.IsWorkingDay(saturday.AddDays(2)));
        }
        public void SetSaturdayAsAWorkingDay()
        {
            WorkingDaysCalendar calendar = new WorkingDaysCalendar();

            calendar.AddDayOfWeekAsWorkingDay(DayOfWeek.Saturday);

            DateTime saturday = new DateTime(2012, 3, 10);
            Assert.AreEqual(saturday.DayOfWeek, DayOfWeek.Saturday);

            Assert.IsTrue(calendar.IsWorkingDay(saturday));
        }