AWSSDK.UnitTests.LruCacheTest.AssertInCache C# (CSharp) Method

AssertInCache() private method

private AssertInCache ( string>.LruCache cache, string key, string expectedValue ) : void
cache string>.LruCache
key string
expectedValue string
return void
        private void AssertInCache(LruCache<string, string> cache, string key, string expectedValue)
        {
            string value = null;
            Assert.IsTrue(cache.TryGetValue(key, out value));
            Assert.AreEqual(expectedValue, value);
        }
    }