Example #1
0
 private IScheduledActivity _getLunch()
 {
     if (_lunch == null)
     {
         _lunch = new ScheduledActivity(
             new Activity("Lunch Break 60min"),
             _scheduleManager.getLunchTime()
             );
     }
     return(_lunch);
 }
Example #2
0
        public void Test_getLunchTime()
        {
            DateTime actual = _scheduleManager.getLunchTime();

            Assert.AreEqual(actual.Hour, TimeManager.STARTLUNCHHOUR);
        }