@Test
public void shouldNotLock() {

  redisTemplate.opsForValue().set("locks:1", "def");
  final String token = lock.acquire(Collections.singletonList("1"), "locks", 1000);
  assertThat(token).isNull();
  assertThat(redisTemplate.opsForValue().get("locks:1")).isEqualTo("def");
}