@Test public void return_provider_name() { settings.setProperty("sonar.auth.saml.providerName", "MyProviderName"); assertThat(underTest.getProviderName()).isEqualTo("MyProviderName"); }
String getProviderName() { return configuration.get(PROVIDER_NAME).orElseThrow(() -> new IllegalArgumentException("Provider Name is missing")); }
SamlSettings { String getProviderName() { return configuration.get(PROVIDER_NAME).orElseThrow(() -> new IllegalArgumentException("Provider Name is missing")); } }
SamlSettings { String getProviderName() { return configuration.get(PROVIDER_NAME).orElseThrow(() -> new IllegalArgumentException("Provider Name is missing")); } SamlSettings(Configuration configuration); }
SamlSettings { String getProviderName() { return configuration.get(PROVIDER_NAME).orElseThrow(() -> new IllegalArgumentException("Provider Name is missing")); } SamlSettings(Configuration configuration);  }
SamlSettings { String getProviderName() { return configuration.get(PROVIDER_NAME).orElseThrow(() -> new IllegalArgumentException("Provider Name is missing")); } SamlSettings(Configuration configuration);   }