public void TestOwns() { Mutex sync = new Mutex(); AbstractQueuedSynchronizer.ConditionObject c = sync.NewCondition(); Mutex sync2 = new Mutex(); Assert.IsTrue(sync.Owns(c)); Assert.IsFalse(sync2.Owns(c)); }