Exemple #1
0
        public void GetActiveRequestsFailsIfUnableToLock()
        {
            var queue = new TestQueue();

            queue.Lock();
            Assert.Throws <Exception>(() => queue.GetActiveRequests());
        }
 public void GetActiveRequestsFailsIfUnableToLock()
 {
     var queue = new TestQueue();
     queue.Lock();
     Assert.Throws<Exception>(() => queue.GetActiveRequests());
 }