public void ContainsKeyReturnsCorrectValue(string key, bool expected) { var cache = new CacheWithFail <string, Data>(); cache.Add("Foo", new Data { String = "Foo", Int = 1 }); cache.ContainsKey(key).Should().Be(expected); }
public void ContainsKeyReturnsCorrectValue(string key, bool expected) { var cache = new CacheWithFail<string, Data>(); cache.Add("Foo", new Data { String = "Foo", Int = 1 }); cache.ContainsKey(key).Should().Be(expected); }