### Question:
BeanUtils { public static final String idFromName(String name) { Transliterator tr = Transliterator.getInstance("Any-Latin; Latin-ASCII"); return removeNonWord(tr.transliterate(name)); } private  BeanUtils(); static final String idFromName(String name); static final boolean isValidVersion(String version);  }### Answer:
@SuppressWarnings("nls") @Test public void testIdFromName() { assertIdFromName("EricWittmann", "Eric Wittmann"); assertIdFromName("DeloitteTouche", "Deloitte & Touche"); assertIdFromName("JBoss_Overlord", "JBoss_Overlord"); assertIdFromName("Red--Hat", "!Red--Hat?"); assertIdFromName("Org.With.Periods", "Org.With.Periods"); assertIdFromName("my-project", "my-project"); assertIdFromName("MyInjectionimgsrca.fsdn.comsdtopicsspace_64.pngaltSpacetitleSpaceheight64width64", "My Injection: <img src=\\\" assertIdFromName("1.0.7-SNAPSHOT", "1.0.7-SNAPSHOT"); assertIdFromName("2.1.0_Final", "2.1.0_Final"); assertIdFromName("Teparados", "Té para dos"); assertIdFromName("Cajdladvoih", "Чай для двоих"); }