public void ContainsKeyTest() { GenerateFakeHttpContext(); var cache = new HttpContextCache(); Assert.IsTrue(cache.ContainsKey(TestKey)); }
public void ContainsKeyNonExistingTest() { var tmpKey = TestKey + "123"; GenerateFakeHttpContext(); var cache = new HttpContextCache(); Assert.IsFalse(cache.ContainsKey(tmpKey)); }