public boolean isAutoDbUpgrade() {
    return configuration.getBoolean(ProcessProperties.Property.AUTO_DATABASE_UPGRADE.getKey()).orElse(false);
  }
@Test
  public void isAutoDbUpgrade() {
    settings.clear();
    assertThat(underTest.isAutoDbUpgrade()).isFalse();

    settings.setProperty("sonar.autoDatabaseUpgrade", true);
    assertThat(underTest.isAutoDbUpgrade()).isTrue();

    settings.setProperty("sonar.autoDatabaseUpgrade", false);
    assertThat(underTest.isAutoDbUpgrade()).isFalse();
  }