void () { final EditableDictionary appDictionary = createAppDictionary(APP_WORDS); final List<String> wordsToAdd = asList("EEEE", "KKKK"); appDictionary.addToDictionary(wordsToAdd); assert wordsToAdd.stream().allMatch(appDictionary::contains); }