static Thread createThread(Runnable r) {
    Thread thread = Executors.defaultThreadFactory().newThread(r);
    thread.setName(String.format("SonarLint-PushEvent-%d", System.nanoTime()));
    thread.setPriority(MIN_PRIORITY);
    thread.setDaemon(true);
    return thread;
  }
@Test
  public void createThread_shouldCreateDaemonWithNameSonarLintPushEvent() {
    assertThat(SonarLintPushEventExecutorServiceImpl.createThread(() -> {
    }))
      .extracting(Thread::getPriority, Thread::isDaemon, thread -> thread.getName().startsWith("SonarLint-PushEvent-"))
      .containsExactly(Thread.MIN_PRIORITY, true, true);
  }