Beispiel #1
0
        public void GetPendingRequestsFailsIfUnableToLock()
        {
            var queue = new TestQueue();

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