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