Preprocess extends InternalModule { protected String expandConsonants(String consonants) { StringBuilder buf = new StringBuilder(); for (int ii = 0; ii < consonants.length(); ii++) { if (ii > 0) { buf.append(' '); } buf.append(consonants.charAt(ii)); } return buf.toString(); } Preprocess(); static Map<Object, Object> loadAbbrevMap(); MaryData process(MaryData d);  }
@Test public void testExpandConsonants() { String test = "bbc"; String expected = "b b c"; test = module.expandConsonants(test); Assert.assertEquals(test, expected); }