@Test
public void testJoin() {

    assertThat(Strings.join(Arrays.asList("a", "b"), "|"), is("a|b"));
    assertNull(Strings.join(null, "|"));
    assertThat(Strings.join(Collections.singletonList("a"), "|"), is("a"));
}