public void TryGetValueTest() { var cache = new DummyCache(); cache.CreateEntry("key", "value", null); var tryGetResult = cache.TryGetValue("key", out object value); // TryGetValue is always false Assert.IsFalse(tryGetResult); Assert.IsNull(value); }
public void CreateEntryTest() { var cache = new DummyCache(); cache.CreateEntry("key", "value", null); }