@Test public void testJoinMultipleItems() { String joined = ParseTextUtils.join(",", Arrays.asList("one", "two", "three")); assertEquals("one,two,three", joined); }
@Test public void testJoinSingleItem() { String joined = ParseTextUtils.join(",", Collections.singletonList("one")); assertEquals("one", joined); }