@Test
public void dbsize() throws ConnectionException, IOException {

  int size = 3;
  doReturn(size).when(commandResult).getInt();
  int actualSize = redisClient.dbsize();
  verify(commandExecutor).execute(RedisCommands.DBSIZE);
  assertEquals(size, actualSize);
}