public void Given()
 {
     myConfig = new TwentyFourSevenTimerConfig
                    {
                        Monday = "12:34:56,12:34:56,00:00:01"
                    };
     myTimer = new TwentyFourSevenTimer(myConfig);
 }
 public void Given()
 {
     myConfig = new TwentyFourSevenTimerConfig
                    {
                        Weekend = "12:34:56,00:00:01",
                        Saturday = "00:00:02",
                        Sunday = "00:00:03"
                    };
     myTimer = new TwentyFourSevenTimer(myConfig);
 }
        public HealthCheckTwentyFourSevenScheduler(IHealthCheckPlugin check,
                                                   HealthCheckTwentyFourSevenSchedulerConfig config)
            : base(check, new HealthCheckIntervalSchedulerConfig
        {
            IntervalInSeconds = config.IntervalInSeconds
        })
        {
            InternalIdentity = new PluginDescriptor
            {
                TypeId      = check.Identity.TypeId,
                Description = check.Identity.Description,
                Name        = check.Identity.Name
            };

            Timer = new TwentyFourSevenTimer(config);
        }
 public void Given()
 {
     myConfig = new TwentyFourSevenTimerConfig
     {
         Everyday = "00:00:01,00:00:02,00:00:03,00:00:04,00:00:05,00:01:01,00:02:01"
     };
     myTimer = new TwentyFourSevenTimer(myConfig,
         new FakeNow(DateTime.Now.SetTimeOfDay(0,0,2)));
     Thread.Sleep(5000);
     myTriggeredAlarms = myTimer.Triggered();
 }