@Test
public void shouldNotReleaseWhenTokenDoesNotPartiallyMatch() {

  redisTemplate.opsForValue().set("locks:1", "def");
  lock.release(Arrays.asList("1", "2"), "locks", "abc");
  assertThat(redisTemplate.opsForValue().get("locks:1")).isEqualTo("def");
  assertThat(redisTemplate.opsForValue().get("locks:2")).isNull();
}