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