@Test public void multiWord() { LocalizedFieldNames.Lookup lookup = localizedFieldNames.createLookup(Arrays.asList("dcterms.isReferencedBy")); final Locale english = new Locale("en"); String fieldName = lookup.toFieldName("isreferENCedby", english); Assert.assertEquals("dcterms_isReferencedBy", fieldName); }
public Lookup createLookup(List<String> keys) { return new LookupImpl(keys); }
LocalizedFieldNames { public Lookup createLookup(List<String> keys) { return new LookupImpl(keys); } }
LocalizedFieldNames { public Lookup createLookup(List<String> keys) { return new LookupImpl(keys); }  }
LocalizedFieldNames { public Lookup createLookup(List<String> keys) { return new LookupImpl(keys); }  void setMessageSource(MessageSource messageSource); Lookup createLookup(List<String> keys); }
LocalizedFieldNames { public Lookup createLookup(List<String> keys) { return new LookupImpl(keys); }  void setMessageSource(MessageSource messageSource); Lookup createLookup(List<String> keys);  }