StepFunctions { public static String markTransliteration(String input) { return MULTI_SYLLABLE_MATCHER.matcher(input).replaceAll("<span class=\"transliteration\">$0</span>"); } private  StepFunctions(); static String markTransliteration(String input);  }
@Test public void testMarkTransliteration() throws Exception { assertEquals("something <span class=\"transliteration\">a.b.c</span> here", StepFunctions.markTransliteration("something a.b.c here")); }