### Question:
TextUtil { static Stream<String> wordsOf(String text) { requireNonNull(text); return WORDS.splitAsStream(text); } private  TextUtil(); static String alignCenter(String substring, int totalWidth); static String alignLeft(String substring, int totalWidth); static String alignRight(String substring, int totalWidth);  }### Answer:
@Test void testWordsOf() { final String text = Stream.of(TEXT_ARRAY).collect(Collectors.joining(" ")); final List<String> expResult = Stream.of(TEXT_ARRAY).collect(toList()); final List<String> result = TextUtil.wordsOf(text).collect(toList()); assertEquals(expResult, result); }