public void Returns_Proper_Interval()
		{
			var interval = TimeSpan.FromSeconds(20);
			var policy = new PeriodicReconnectPolicy { Interval = interval };

			var node1 = new Mock<INode>().Object;
			var node2 = new Mock<INode>().Object;

			Assert.Equal(policy.Schedule(node1), interval);
			Assert.Equal(policy.Schedule(node2), interval);

			policy.Reset(node1);
			policy.Reset(node2);

			Assert.Equal(policy.Schedule(node1), interval);
			Assert.Equal(policy.Schedule(node2), interval);
		}
        public void Returns_Proper_Interval()
        {
            var interval = TimeSpan.FromSeconds(20);
            var policy   = new PeriodicReconnectPolicy {
                Interval = interval
            };

            var node1 = new Mock <INode>().Object;
            var node2 = new Mock <INode>().Object;

            Assert.Equal(policy.Schedule(node1), interval);
            Assert.Equal(policy.Schedule(node2), interval);

            policy.Reset(node1);
            policy.Reset(node2);

            Assert.Equal(policy.Schedule(node1), interval);
            Assert.Equal(policy.Schedule(node2), interval);
        }