@Override
  public void start() {
    executorService.scheduleAtFixedRate(this::checks, getInitialDelay(),
      getEnqueueDelay(), SECONDS);
  }
@Test
  public void doNothingIfExceptionIsThrown() {
    when(lockManager.tryLock(any(), anyInt())).thenThrow(new IllegalArgumentException("Oops"));

    underTest.start();

    executorService.runCommand();

    verifyNoInteractions(dbClient);
  }