void () { List<Integer> l = new SmartList<>(); l.add(1); l.add(2); l.add(3); assertThat(l).hasSize(3); assertThat(l.get(0)).isEqualTo(1); assertThat(l.get(1)).isEqualTo(2); assertThat(l.get(2)).isEqualTo(3); }