void () { List<Integer> l = new SmartList<>(); l.add(null); l.add(null); assertThat(l.indexOf(null)).isEqualTo(0); assertThat(l.contains(null)).isTrue(); assertThat(l.indexOf(42)).isEqualTo(-1); assertThat(l.contains(42)).isFalse(); }