@Test public void dbsize() throws ConnectionException, IOException { int size = 5; doReturn(size).when(client).dbsize(); int actualSize = redisClient.dbsize(); assertEquals(size, actualSize); }
@Override public int dbsize() throws ConnectionException, IOException { return getClient().dbsize(); }
MultiRedisClient implements Client { @Override public int dbsize() throws ConnectionException, IOException { return getClient().dbsize(); } }
MultiRedisClient implements Client { @Override public int dbsize() throws ConnectionException, IOException { return getClient().dbsize(); } MultiRedisClient(final String host, final int port);  MultiRedisClient(final String host, final int port, final int concurrencyLevel); }
MultiRedisClient implements Client { @Override public int dbsize() throws ConnectionException, IOException { return getClient().dbsize(); } 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(); }
MultiRedisClient implements Client { @Override public int dbsize() throws ConnectionException, IOException { return getClient().dbsize(); } 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; }