public void GetDayPeriods__ShortBreak_DurationGreaterShortBreakUpLimit__Throw()
        {
            var repo = new BreakRepository();

            var shortBreak = new ShortBreakSchedule()
            {
                Duration    = repo.ShortBreakUpLimit + TimeSpan.FromSeconds(1),
                Periodicity = repo.ShortBreakIntervalUpLimit,
            };

            Assert.Catch <ArgumentException>(() => repo.GetDayPeriods(shortBreak));
        }
        public void GetDayPeriods__ShortBreak_IsNull__Throw()
        {
            var repo = new BreakRepository();

            Assert.Catch <ArgumentNullException>(() => repo.GetDayPeriods(null));
        }