@Test
public void testToImmutableList() {

  List<String> list = Arrays.asList(
      foo,
      bar,
      "baz",
      bar,
      foo,
      "abcd"
  );
  // Can't get perfect coverage here, since code coverage doesn't cover the lambdas/method references
  ImmutableList<String> immutableList = list.stream().collect(ListUtils.toImmutableList());
  assertEquals(list, immutableList);
}