@Test
public void testJoiningNoSeparatorsWithBookends() {

  List<String> result = Stream.of(foo, foo, foo)
      .collect(joining(barSupplier, nullSupplier, barSupplier));
  assertEquals(Arrays.asList(bar, foo, foo, foo, bar), result);
}