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

ReturnsTrueForExistingKey() private method

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

                Assert.IsTrue(cache.Contains("2"));
            }
        }