List<String> stringList = Arrays.asList("A", "B", "C"); Collections.reverse(stringList); assertThat(stringList).containsExactly("C", "B", "A");