@Test public void ensureImmutable_convertsToUnmodifiableList() {

  List<Long> list = new ArrayList<>();
  list.add(1L);
  list.add(2L);
  assertThat(Lists.ensureImmutable(list).getClass().getSimpleName())
    .startsWith("Unmodifiable");
}