@Test
  public void testGetAllWithStringKeys() {
    RMap<String, Integer> map = redisson.getMap("getAllStrings");
    map.put("A", 100);
    map.put("B", 200);
    map.put("C", 300);
    map.put("D", 400);

    Map<String, Integer> filtered = map.getAll(new HashSet<String>(Arrays.asList("B", "C", "E")));

    Map<String, Integer> expectedMap = new HashMap<String, Integer>();
    expectedMap.put("B", 200);
    expectedMap.put("C", 300);
    Assert.assertEquals(expectedMap, filtered);
  }
  @Test
  public void testGetAll() {
    RMap<Integer, Integer> map = redisson.getMap("getAll");
    map.put(1, 100);
    map.put(2, 200);
    map.put(3, 300);
    map.put(4, 400);

    Map<Integer, Integer> filtered = map.getAll(new HashSet<Integer>(Arrays.asList(2, 3, 5)));

    Map<Integer, Integer> expectedMap = new HashMap<Integer, Integer>();
    expectedMap.put(2, 200);
    expectedMap.put(3, 300);
    Assert.assertEquals(expectedMap, filtered);
  }