@Test public void testLoadSkipList() throws Exception { List<Document> documents = new ArrayList<>(); documents.add( Document.builder(new JapaneseTokenizer()) .addSection(1) .addParagraph() .addSentence(new Sentence("私は彼は好き。", 1)) .build()); Configuration config = Configuration.builder("ja") .addValidatorConfig(new ValidatorConfiguration("DoubledJoshi").addProperty("list", "は")) .build(); RedPen redPen = new RedPen(config); Map<Document, List<ValidationError>> errors = redPen.validate(documents); assertEquals(0, errors.get(documents.get(0)).size()); }