### Question:
Executor { public static List<Article> generateElements() { return Stream.generate(() -> new Article("Java")).limit(35000).collect(Collectors.toList()); }  static int countAutors(Stream<Author> stream); static List<Article> generateElements();  }### Answer:
@Test public void givenSpliterator_whenAppliedToAListOfArticle_thenSplittedInHalf() { assertThat(new Task(split1).call()).containsSequence(Executor.generateElements().size() / 2 + ""); assertThat(new Task(split2).call()).containsSequence(Executor.generateElements().size() / 2 + ""); }