public void Save(SaveType saveType = SaveType.BackgroundSave, CommandFlags flags = CommandFlags.None) { try { _redisServer?.Save(saveType, flags); } catch (Exception e) { LogError(e); } }
public void Save_RedisServer_ServerMethodCalledCorrectly() { _redisServer.Save(); _serverMock.Verify(x => x.Save(SaveType.BackgroundSave, CommandFlags.None), Times.Once); }