Catel.Test.Caching.CacheStorageFacts.TheGetMethod.ReturnsRightValueForExistingKey C# (CSharp) Method

ReturnsRightValueForExistingKey() private method

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

                Assert.AreEqual(2, cache.Get("2"));
            }
        }