@Test
public void shouldNotRelease() {

  mongoTemplate.insert(new LockDocument("1", LocalDateTime.now().plusMinutes(1), "def"), "locks");
  final var released = lock.release(Collections.singletonList("1"), "locks", "abc");
  assertThat(released).isFalse();
  assertThat(mongoTemplate.findById("1", LockDocument.class, "locks").getToken()).isEqualTo("def");
}