@Test public void ensureImmutable_convertsToSingletonList() {

  List<Object> list = new ArrayList<>();
  list.add("foo");
  assertThat(Lists.ensureImmutable(list).getClass().getSimpleName())
    .isEqualTo("SingletonList");
}