public void ConfigSet(string key, string value, CommandFlags flags = CommandFlags.None) { try { _redisServer?.ConfigSet(key, value, flags); } catch (Exception e) { LogError(e); } }
public void ConfigSet_RedisServer_ServerMethodCalledCorrectly() { _redisServer.ConfigSet("key", "value"); _serverMock.Verify(x => x.ConfigSet("key", "value", CommandFlags.None), Times.Once); }