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