@Test public void shouldConvertToUpperCaseWhenNoLocaleIsProvided() { ToUpperCaseFunction toUpperCaseFunction = new ToUpperCaseFunction(); String upperCased = toUpperCaseFunction.apply(STRING_IN_LOWER_CASE); assertThat(upperCased, is(STRING_IN_UPPER_CASE)); }
@Override @Nullable public String apply(@Nullable String input) { return input == null ? null : input.toUpperCase(locale); }
ToUpperCaseFunction implements Function<String, String> { @Override @Nullable public String apply(@Nullable String input) { return input == null ? null : input.toUpperCase(locale); } }
ToUpperCaseFunction implements Function<String, String> { @Override @Nullable public String apply(@Nullable String input) { return input == null ? null : input.toUpperCase(locale); } ToUpperCaseFunction(@Nonnull Locale locale);  ToUpperCaseFunction(); }
ToUpperCaseFunction implements Function<String, String> { @Override @Nullable public String apply(@Nullable String input) { return input == null ? null : input.toUpperCase(locale); } ToUpperCaseFunction(@Nonnull Locale locale);  ToUpperCaseFunction(); @Override @Nullable String apply(@Nullable String input); }
ToUpperCaseFunction implements Function<String, String> { @Override @Nullable public String apply(@Nullable String input) { return input == null ? null : input.toUpperCase(locale); } ToUpperCaseFunction(@Nonnull Locale locale);  ToUpperCaseFunction(); @Override @Nullable String apply(@Nullable String input);  }