Catel.Test.Caching.CacheStorageFacts.TheContainsMethod.ReturnsFalseForNonExistingKey C# (CSharp) Method

ReturnsFalseForNonExistingKey() private method

private ReturnsFalseForNonExistingKey ( ) : void
return void
            public void ReturnsFalseForNonExistingKey()
            {
                var cache = new CacheStorage<string, int>();
                cache.Add("1", 1);
                cache.Add("2", 2);

                Assert.IsFalse(cache.Contains("3"));
            }