public void FlushAllDatabases(CommandFlags flags = CommandFlags.None)
 {
     try
     {
         _redisServer?.FlushAllDatabases(flags);
     }
     catch (Exception e)
     {
         LogError(e);
     }
 }
Пример #2
0
 public void FlushAllDatabases_RedisServer_ServerMethodCorrect()
 {
     Assert.DoesNotThrow(() => _redisServer.FlushAllDatabases());
     _serverMock.Verify(x => x.FlushAllDatabases(CommandFlags.None), Times.Once);
 }