### Question:
LocalizedSeverity { public static String getLongLocalizedString(final Severity severity) { if (severity == Severity.ERROR) { return Messages.Severity_Long_Error(); } if (severity == Severity.WARNING_HIGH) { return Messages.Severity_Long_High(); } if (severity == Severity.WARNING_NORMAL) { return Messages.Severity_Long_Normal(); } if (severity == Severity.WARNING_LOW) { return Messages.Severity_Long_Low(); } return severity.getName(); } private  LocalizedSeverity(); static String getLocalizedString(final Severity severity); static String getLongLocalizedString(final Severity severity);  }### Answer:
@Test void shouldProvideLongLocalizedSeverity() { assertThat(getLongLocalizedString(Severity.ERROR)).isEqualTo( Messages.Severity_Long_Error()); assertThat(getLongLocalizedString(Severity.WARNING_HIGH)).isEqualTo( Messages.Severity_Long_High()); assertThat(getLongLocalizedString(Severity.WARNING_NORMAL)).isEqualTo( Messages.Severity_Long_Normal()); assertThat(getLongLocalizedString(Severity.WARNING_LOW)).isEqualTo(Messages.Severity_Long_Low()); assertThat(getLongLocalizedString(createSeverity())).isEqualTo(SEVERITY_NAME); }