assertEquals("join(Object[], char) failed", TEXT_LIST_CHAR, StringUtils.join(ARRAY_LIST, SEPARATOR_CHAR)); assertEquals("join(Iterator, char) failed", TEXT_LIST_CHAR, StringUtils.join(Arrays.asList(ARRAY_LIST).iterator(), SEPARATOR_CHAR));  assertEquals("join(Object[], null) failed", TEXT_LIST_NOSEP, StringUtils.join(ARRAY_LIST, null)); assertEquals("join(Iterator, null) failed", TEXT_LIST_NOSEP, StringUtils.join(Arrays.asList(ARRAY_LIST).iterator(), null));  assertEquals("concatenate(Object[]) failed", "", StringUtils.concatenate(EMPTY_ARRAY_LIST)); assertEquals("join(Object[], String) failed", "", StringUtils.join(EMPTY_ARRAY_LIST, SEPARATOR)); assertEquals("join(Iterator, String) failed", "", StringUtils.join(Arrays.asList(EMPTY_ARRAY_LIST).iterator(), SEPARATOR));  assertEquals("join(Object[], char) failed", "", StringUtils.join(EMPTY_ARRAY_LIST, SEPARATOR_CHAR)); assertEquals("join(Iterator, char) failed", "", StringUtils.join(Arrays.asList(EMPTY_ARRAY_LIST).iterator(), SEPARATOR_CHAR));  assertEquals("join(Object[], null) failed", "", StringUtils.join(EMPTY_ARRAY_LIST, null)); assertEquals("join(Iterator, null) failed", "", StringUtils.join(Arrays.asList(EMPTY_ARRAY_LIST).iterator(), null));
    public void testJoin() {        assertEquals("concatenate(Object[]) failed",                      "foobarbaz", StringUtils.concatenate(ARRAY_LIST));        assertEquals("join(Object[], String) failed", TEXT_LIST,                     StringUtils.join(ARRAY_LIST, SEPARATOR));        assertEquals("join(Iterator, String) failed", TEXT_LIST,                     StringUtils.join(Arrays.asList(ARRAY_LIST).iterator(),                                      SEPARATOR));    }