void () { final ProjectDictionary projectDictionary = createProjectDictionary(PROJECT_WORDS); final List<String> wordsToAdd = asList("EEEE", "KKKK"); projectDictionary.addToDictionary(wordsToAdd); assert wordsToAdd.stream().allMatch(projectDictionary::contains); }