### Question:
StringUtils { public static String join(CharSequence delimiter, Iterable values) { StringBuilder sb = new StringBuilder(); Iterator<?> it = values.iterator(); if (it.hasNext()) { sb.append(it.next()); while (it.hasNext()) { sb.append(delimiter); sb.append(it.next()); } } return sb.toString(); }  static String join(CharSequence delimiter, Iterable values);  }### Answer:
@Test public void testJoin() throws Exception { String result = StringUtils.join(", ", asList(1, 2, 3, 4, 5)); Assert.assertEquals(result, "1, 2, 3, 4, 5"); }