public void Save(SaveType saveType = SaveType.BackgroundSave, CommandFlags flags = CommandFlags.None)
 {
     try
     {
         _redisServer?.Save(saveType, flags);
     }
     catch (Exception e)
     {
         LogError(e);
     }
 }
Example #2
0
        public void Save_RedisServer_ServerMethodCalledCorrectly()
        {
            _redisServer.Save();

            _serverMock.Verify(x => x.Save(SaveType.BackgroundSave, CommandFlags.None), Times.Once);
        }