private void checkIfLunchIsRequired(DateTime time) { if (time.Equals(_scheduleManager.getLunchEndTime())) { _activites.Add(getLunch()); } }
public void Test_getLunchEndTime() { DateTime actual = _scheduleManager.getLunchEndTime(); Assert.AreEqual(actual.Hour, TimeManager.ENDLUNCHHOUR); }