@Test
public void testGetRange() {

    JedisCluster mockJedisClient = mock(JedisCluster.class);
    CacheRedisClient mockedCachedRedisClient = mock(CacheRedisClient.class);
    when(mockedCachedRedisClient.getJedisClusterClient()).thenReturn(mockJedisClient);
    RedisCacheService redisCacheService = new RedisCacheService(config, mockedCachedRedisClient);
    redisCacheService.getRange("key1", 2, 10);
    verify(mockJedisClient, times(1)).lrange("key1", 2, 10);
}