@Override
  public void run() {
    serverMonitoringMetrics.setNumberOfConnectedSonarLintClients(sonarLintClientsRegistry.countConnectedClients());
  }
@Test
  public void run_when5ConnectedClients_updateWith5() {
    when(sonarLintClientsRegistry.countConnectedClients()).thenReturn(5L);

    underTest.run();

    verify(metrics).setNumberOfConnectedSonarLintClients(5L);
  }