Beispiel #1
0
        public void WithMillisecondsTimeout()
        {
            ThreadRunner threadRunner = ThreadRunner.WithMillisecondsTimeout(delegate { }, 250);

            Assert.That(threadRunner.Timeout, Is.EqualTo(TimeSpan.FromMilliseconds(250)));
        }