@Override
    public RedisScript<List<Long>> getScript() {
        return script;
    }
@Test
    public void getScriptTest() {
        DefaultRedisScript<List> redisScript = new DefaultRedisScript<>();
        String scriptPath = "/META-INF/scripts/" + abstractRateLimiterAlgorithm.getScriptName();
        redisScript.setScriptSource(new ResourceScriptSource(new ClassPathResource(scriptPath)));
        redisScript.setResultType(List.class);
        assertThat(redisScript.getScriptAsString(), is(abstractRateLimiterAlgorithm.getScript().getScriptAsString()));
        assertThat(redisScript.getResultType(), is(abstractRateLimiterAlgorithm.getScript().getResultType()));
    }