@Test
public void shouldLockMultipleKeys() {

  final var token = lock.acquire(Arrays.asList("1", "2"), "locks", 1000);
  assertThat(token).isEqualTo("abc");
  assertThat(redisTemplate.opsForValue().get("locks:1")).isEqualTo("abc");
  assertThat(redisTemplate.opsForValue().get("locks:2")).isEqualTo("abc");
  assertThat(redisTemplate.getExpire("locks:1", TimeUnit.MILLISECONDS)).isCloseTo(1000, Offset.offset(100L));
  assertThat(redisTemplate.getExpire("locks:2", TimeUnit.MILLISECONDS)).isCloseTo(1000, Offset.offset(100L));
}