MultiRedisClient implements Client { @Override public void ping() throws ConnectionException, IOException { getClient().ping(); } MultiRedisClient(final String host, final int port);  MultiRedisClient(final String host, final int port, final int concurrencyLevel); @Override void ping(); @Override void set(byte[] key, byte[] value); @Override void set(byte[] key, byte[] value, long expiryInMillis); @Override byte[] get(byte[] key); @Override byte[] expire(byte[] key); @Override void flushdb(); @Override int dbsize(); static final int CONCURRENCY_LEVEL; }
@Test public void ping() throws ConnectionException, IOException { redisClient.ping(); verify(client).ping(); }