@Override
  public long getConnectTimeout() {
    return safelyParseLongValue(CONNECT_TIMEOUT_PROPERTY).orElse(DEFAULT_TIMEOUT);
  }
@Test
  public void getConnectTimeout_returns_value_of_property() {
    long expected = new Random().nextInt(9_456_789);
    settings.setProperty("sonar.alm.timeout.connect", expected);

    assertThat(underTest.getConnectTimeout()).isEqualTo(expected);
  }