public async void Remove_should_remove_value() { var actor = new MemCacheActor(); var buffer = new byte[] { 12, 34, 56 }; await actor.Set("key", buffer); await actor.Remove("key"); Assert.Equal(null, await actor.Get("key")); Assert.Equal(Enumerable.Empty<string>(), await actor.GetKeys()); }
public async void Remove_should_not_throws_if_key_not_exists() { var actor = new MemCacheActor(); await actor.Remove("key"); }