public void AsyncCache_Set_Directly_Value() { _cache.Clear(); for (var i = 0; i < TestCount; i++) { var key = i; _cache.SetValue(key, Math.Pow(key, 3)); } for (var i = 0; i < TestCount; i++) { var key = i; Assert.AreEqual(Math.Pow(key, 3), _cache[key], "key=" + key); } }