@Test
public void shouldNotRefreshBecauseKeyExpired() {

  assertThat(lock.refresh(Collections.singletonList("1"), "locks", "abc", 1000)).isFalse();
  assertThat(mongoTemplate.findAll(LockDocument.class)).isNullOrEmpty();
}