@Test public void ping() throws ConnectionException, IOException { doReturn("OK").when(commandResult).getStatus(); redisClient.ping(); verify(redisClient).runVoidCommand(RedisCommands.PING); verify(commandExecutor).execute(RedisCommands.PING); }
@Override public void ping() throws ConnectionException, IOException { runVoidCommand(RedisCommands.PING); }
RedisClient implements Client { @Override public void ping() throws ConnectionException, IOException { runVoidCommand(RedisCommands.PING); } }
RedisClient implements Client { @Override public void ping() throws ConnectionException, IOException { runVoidCommand(RedisCommands.PING); } RedisClient(final RedisCommandExecutor redisCommandExecutor,
      final RedisCommandResult redisCommandResult);  RedisClient(final Connection connection);  RedisClient();  RedisClient(final String host);  RedisClient(final String host, final int port); }
RedisClient implements Client { @Override public void ping() throws ConnectionException, IOException { runVoidCommand(RedisCommands.PING); } RedisClient(final RedisCommandExecutor redisCommandExecutor,
      final RedisCommandResult redisCommandResult);  RedisClient(final Connection connection);  RedisClient();  RedisClient(final String host);  RedisClient(final String host, final int port); @Override void ping(); @Override void set(final byte[] key, final byte[] value); @Override void set(final byte[] key, final byte[] value, final long expiryInMillis); byte[] longToBytes(final long longToBeConverted); @Override byte[] get(final byte[] key); @Override byte[] expire(final byte[] key); @Override void flushdb(); @Override int dbsize(); }
RedisClient implements Client { @Override public void ping() throws ConnectionException, IOException { runVoidCommand(RedisCommands.PING); } RedisClient(final RedisCommandExecutor redisCommandExecutor,
      final RedisCommandResult redisCommandResult);  RedisClient(final Connection connection);  RedisClient();  RedisClient(final String host);  RedisClient(final String host, final int port); @Override void ping(); @Override void set(final byte[] key, final byte[] value); @Override void set(final byte[] key, final byte[] value, final long expiryInMillis); byte[] longToBytes(final long longToBeConverted); @Override byte[] get(final byte[] key); @Override byte[] expire(final byte[] key); @Override void flushdb(); @Override int dbsize();  }