public TrySendNodeStartUpNotificationToManagerTimer(NodeConfiguration nodeConfiguration,
		                                                    IHttpSender httpSender,
		                                                    double interval = 5000,
		                                                    bool autoReset = true) : base(interval)
		{
			var callbackToManagerTemplateUri = nodeConfiguration.GetManagerNodeHasBeenInitializedUri();
			_cancellationTokenSource = new CancellationTokenSource();
			_nodeConfiguration = nodeConfiguration;
			_callbackToManagerTemplateUri = callbackToManagerTemplateUri;
			_httpSender = httpSender;
			_whoAmI = _nodeConfiguration.CreateWhoIAm(Environment.MachineName);

			Elapsed += OnTimedEvent;
			AutoReset = autoReset;
		}
        public TrySendNodeStartUpNotificationToManagerTimer(NodeConfiguration nodeConfiguration,
                                                            IHttpSender httpSender,
                                                            double interval = 5000,
                                                            bool autoReset  = true) : base(interval)
        {
            var callbackToManagerTemplateUri = nodeConfiguration.GetManagerNodeHasBeenInitializedUri();

            _cancellationTokenSource      = new CancellationTokenSource();
            _nodeConfiguration            = nodeConfiguration;
            _callbackToManagerTemplateUri = callbackToManagerTemplateUri;
            _httpSender             = httpSender;
            _whoAmI                 = _nodeConfiguration.CreateWhoIAm(Environment.MachineName);
            _exceptionLoggerHandler = new TimerExceptionLoggerStrategyHandler(TimerExceptionLoggerStrategyHandler.DefaultLogInterval, GetType());

            Elapsed  += OnTimedEvent;
            AutoReset = autoReset;
        }
        public void ShouldReturnCorrectNodeHasBeenInitializedTemplateUri()
        {
            var uri = NodeConfiguration.GetManagerNodeHasBeenInitializedUri();

            Assert.IsTrue(uri == NodeHasBeenInitializedTemplateUri);
        }