void () { final EditableDictionary appDictionary = createAppDictionary(APP_WORDS); final List<String> wordsToReplace = asList("EEEE", "KKKK"); appDictionary.replaceAll(wordsToReplace); assert wordsToReplace.stream().allMatch(appDictionary::contains); assert APP_WORDS.stream().allMatch(projectWord -> appDictionary.contains(projectWord) == null); }