### Question:
TextUtils { public static String joinPMMLDelimited(Iterable<?> elements) { String rawResult = doJoinDelimited(elements, formatForDelimiter(' ')); return TWO_DOUBLE_QUOTE_ESC.matcher(rawResult).replaceAll(SLASH_QUOTE_ESC); } private  TextUtils(); static String[] parseDelimited(String delimited, char delimiter); static String[] parsePMMLDelimited(String delimited); static String joinDelimited(Iterable<?> elements, char delimiter); static String joinPMMLDelimited(Iterable<?> elements); static String joinPMMLDelimitedNumbers(Iterable<? extends Number> elements); static String[] parseJSONArray(String json); static String joinJSON(Iterable<?> elements); static T readJSON(String json, Class<T> clazz); static T convertViaJSON(Object value, Class<T> clazz);  }### Answer:
@Test public void testJoinPMMLDelimited() { assertEquals("ab \"a b\" \"with \\\"quotes\\\" \"", TextUtils.joinPMMLDelimited(Arrays.asList("ab", "a b", "with \"quotes\" "))); assertEquals("1 22 3", TextUtils.joinPMMLDelimited(Arrays.asList("1", "22", "3"))); assertEquals("\" c\\\" d \\\"e \" \" c\\\" d \\\"e \"", TextUtils.joinPMMLDelimited(Arrays.asList(" c\" d \"e ", " c\" d \"e "))); }