public void RemoveDenyTest3() { var cache = new LruCache <string, BadTestClass, BadTestClass>( 100, value => value.Identifier); BadTestClass test1 = new BadTestClass(); Assert.Throws <ArgumentNullException>(() => cache.Remove(test1)); }
public void RemoveDenyTest3() { var cache = new FastConcurrentLruCache <string, BadTestClass>( TestCacheCapacity, value => value.Identifier); var test1 = new BadTestClass(); _ = Assert.Throws <ArgumentNullException>(() => cache.Remove(test1)); }