public void TestAddInternal() { cloneCache.Add(new MyKey("key1"), new MyValue("value1")); AssertionExtensions.Should((object)cloneCache[new MyKey("key1")]).Be(new MyValue("value1")); cloneCache.Commit(); myDataCache[new MyKey("key1")].Should().Be(new MyValue("value1")); }
public void TestAddInternal() { cloneCache.Add(new MyKey("key1"), new MyValue("value1")); cloneCache[new MyKey("key1")].Should().Be(new MyValue("value1")); cloneCache.Commit(); myDataCache[new MyKey("key1")].Should().Be(new MyValue("value1")); }