### Question:
SamlIdentityProvider implements OAuth2IdentityProvider { @Override public String getName() { return samlSettings.getProviderName(); } SamlIdentityProvider(SamlSettings samlSettings); @Override String getKey(); @Override String getName(); @Override Display getDisplay(); @Override boolean isEnabled(); @Override boolean allowsUsersToSignUp(); @Override void init(InitContext context); @Override void callback(CallbackContext context);  }### Answer:
@Test public void provider_name_is_provided_by_setting() { assertThat(underTest.getName()).isEqualTo("SAML"); settings.setProperty("sonar.auth.saml.providerName", "My Provider"); assertThat(underTest.getName()).isEqualTo("My Provider"); }