public void TestSpecificHour()
        {
            CronExpressionBuilder bldr = new CronExpressionBuilder();

            bldr.Hour(10);

            Assert.AreEqual("* * 10 ? * *", bldr.CronExpression);
        }
        public void TestMultipleHourEmptyList()
        {
            CronExpressionBuilder bldr = new CronExpressionBuilder();

            List<int> desiredHours = new List<int>();

            bldr.Hour(desiredHours);
        }
        public void TestMultipleHoursWithOneInvalid()
        {
            CronExpressionBuilder bldr = new CronExpressionBuilder();

            List<int> desiredHours = new List<int>();
            desiredHours.Add(17);
            desiredHours.Add(24);

            bldr.Hour(desiredHours);
        }
        public void TestMultipleHours()
        {
            CronExpressionBuilder bldr = new CronExpressionBuilder();

            List<int> desiredHours = new List<int>();
            desiredHours.Add(1);
            desiredHours.Add(5);

            bldr.Hour(desiredHours);

            Assert.AreEqual("* * 1,5 ? * *", bldr.CronExpression);
        }