public void Remove() { // set expectations Expect.Call(mockedRuntimeCache.Remove(mockedCache.GenerateKey("key"))).Return(null); mocks.ReplayAll(); // verify mockedCache.Remove("key"); mocks.VerifyAll(); }
public void IgnoreNullKeysOnRemove() { thisCache.Remove(null); }
public void Remove() { mockedCache.Remove("key"); A.CallTo(() => mockedRuntimeCache.Remove(mockedCache.GenerateKey("key"))).MustHaveHappened(); }