public void LeastRecentlyUsedCacheImplementsDisposeOnLock() { var cache = new LeastRecentlyUsedCache <int, TestCacheStub>(5); Assert.DoesNotThrow(() => cache.Dispose()); }