public void TimerExpiry_Reset()
        {
            TimerExpiry te = new TimerExpiry(1000);
            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
        }
        public void TimerExpiry_Reset()
        {
            TimerExpiry te = new TimerExpiry(1000);

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
            te.Reset();

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
            te.Reset();

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
            te.Reset();

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
            te.Reset();

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
            te.Reset();

            Thread.Sleep(350);
            Assert.That(te.RemainingTime(), Is.GreaterThan(500));
        }
        public void TimerExpiry_Reset()
        {
            TimerExpiry te = new TimerExpiry(1000);

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
            te.Reset();

            System.Threading.Thread.Sleep(350);
            Assert.IsTrue(te.RemainingTime() > 500);
        }