void () { List<Integer> list = new SmartList<>((Integer)null); assertThat(list).isEqualTo(new SmartList<>((Integer)null)); assertThat(list).isEqualTo(new ArrayList<>(Collections.singletonList(null))); assertThat(list).isEqualTo(new LinkedList<>(Collections.singletonList(null))); assertThat(list).isEqualTo(Arrays.asList(new Integer[]{null})); assertThat(list).isEqualTo(Collections.singletonList(null)); assertThat(list).isNotEqualTo(new SmartList<>()); assertThat(list).isNotEqualTo(new ArrayList<>()); assertThat(list).isNotEqualTo(new LinkedList<>()); assertThat(list).isNotEqualTo(Collections.emptyList()); assertThat(list).isNotEqualTo(Arrays.asList()); assertThat(list).isNotEqualTo(ContainerUtil.emptyList()); }