public void Given_daily_schedule()
        {
            var schedule = new DailyJobSchedule(new TimeSpan(12, 0, 0));
            var context = new TestSchedulerContext();

            context.MoveToNow();

            var jobstate = new TestJobState();

            nexttoday = schedule.NextExecution(jobstate, context);

            context.MoveToTommorrow();

            nexttomorrow = schedule.NextExecution(jobstate, context);
        }
        public void Given_daily_schedule()
        {
            var schedule = new DailyJobSchedule(new TimeSpan(12, 0, 0));
            var context  = new TestSchedulerContext();


            context.MoveToNow();

            var jobstate = new TestJobState();

            nexttoday = schedule.NextExecution(jobstate, context);

            context.MoveToTommorrow();

            nexttomorrow = schedule.NextExecution(jobstate, context);
        }