public void givenUsingCoreJava_whenListConvertedToSet_thenCorrect() { List<Integer> sourceList = Arrays.asList(0, 1, 2, 3, 4, 5); Set<Integer> targetSet = new HashSet<>(sourceList); }