public void Remove()
 {
     // set expectations
     Expect.Call(mockedRuntimeCache.Remove(mockedCache.GenerateKey("key"))).Return(null);
     mocks.ReplayAll();
     // verify
     mockedCache.Remove("key");
     mocks.VerifyAll();
 }
예제 #2
0
 public void IgnoreNullKeysOnRemove()
 {
     thisCache.Remove(null);
 }
예제 #3
0
        public void Remove()
        {
            mockedCache.Remove("key");

            A.CallTo(() => mockedRuntimeCache.Remove(mockedCache.GenerateKey("key"))).MustHaveHappened();
        }