public void MemoryCacheManager_Should_Return_Value_And_Be_Able_To_Change_Existing_Value() { ICacheManager cacheManager = new MemoryCacheManager(); cacheManager.Add("Test", "Dit is de waarde...", new CacheItemPolicy()); cacheManager.AddOrOverwrite("Test", "Dit is de echte waarde...", new CacheItemPolicy()); string value = cacheManager.Get <string>("Test"); Assert.AreSame("Dit is de echte waarde...", value); }