diff --git a/src/JasperFx.Core.Tests/CacheTests.cs b/src/JasperFx.Core.Tests/CacheTests.cs index 3b74128..c0a065c 100644 --- a/src/JasperFx.Core.Tests/CacheTests.cs +++ b/src/JasperFx.Core.Tests/CacheTests.cs @@ -80,19 +80,6 @@ public void get_enumerator() cache.ShouldContain(42); } - [Fact] - public void set_OnAddition() - { - ICallback callback = Substitute.For(); - cache["firstKey"] = 0; - callback.DidNotReceive().OnAdditionCallback(42); - //callback.AssertWasNotCalled(c => c.OnAdditionCallback(42)); - cache.OnAddition = callback.OnAdditionCallback; - cache[Key] = 42; - callback.Received().OnAdditionCallback(42); - //callback.AssertWasCalled(c=>c.OnAdditionCallback(42)); - } - [Fact] public void can_remove() {