String getServiceProviderCertificate() {
    return configuration.get(SERVICE_PROVIDER_CERTIFICATE).orElseThrow(() -> new IllegalArgumentException("Service provider certificate is missing"));
  }
@Test
  public void return_service_provider_certificate() {
    settings.setProperty("sonar.auth.saml.sp.certificate.secured", "my_certificate");

    assertThat(underTest.getServiceProviderCertificate()).isEqualTo("my_certificate");
  }