public async Task DeleteCacheKeyTest() { //Clear the cache await JsonCache.ClearAll(); var result1 = await JsonCache.GetAsync("test", () => LongRunningOperation("result")); Assert.AreEqual("result", result1); await JsonCache.Delete("test"); var result2 = await JsonCache.GetAsync("test", () => LongRunningOperation("result 2")); Assert.AreEqual("result 2", result2); //Not from cache }