@Test
public void testJoinArray() {

    Assert.assertEquals("", StringUtils
            .join(new String[0], ","));
    Assert.assertEquals("foo", StringUtils
            .join(new String[]{"foo"}, ","));
    Assert.assertEquals("foo,bar,baz", StringUtils
            .join(new String[]{"foo", "bar", "baz"}, ","));
}