@Test public void return_user_email_attribute() { settings.setProperty("sonar.auth.saml.user.email", "userEmail"); assertThat(underTest.getUserEmail().get()).isEqualTo("userEmail"); }
Optional<String> getUserEmail() { return configuration.get(USER_EMAIL_ATTRIBUTE); }
SamlSettings { Optional<String> getUserEmail() { return configuration.get(USER_EMAIL_ATTRIBUTE); } }
SamlSettings { Optional<String> getUserEmail() { return configuration.get(USER_EMAIL_ATTRIBUTE); } SamlSettings(Configuration configuration); }
SamlSettings { Optional<String> getUserEmail() { return configuration.get(USER_EMAIL_ATTRIBUTE); } SamlSettings(Configuration configuration);  }
SamlSettings { Optional<String> getUserEmail() { return configuration.get(USER_EMAIL_ATTRIBUTE); } SamlSettings(Configuration configuration);   }