public void ShouldRemoveItemFromCache() { var cache = new CachingService(); cache.AddToCache("test","test",CachePriority.Default,null); cache.RemoveCachedItem("test"); Assert.That(cache.GetCachedItem("test"),Is.Null); }
public void ShouldRemoveItemFromCache() { var cache = new CachingService(); cache.AddToCache("test", "test", CachePriority.Default, null); cache.RemoveCachedItem("test"); Assert.That(cache.GetCachedItem("test"), Is.Null); }