langTool.disableRule(GermanSpellerRule.RULE_ID);
langTool.disableRule("DE_AGREEMENT");
langTool.disableRule("GERMAN_WORD_REPEAT_BEGINNING_RULE");
langTool.disableRule("COMMA_PARENTHESIS_WHITESPACE");
langTool.disableRule("DE_CASE");
langTool.disableRule("ABKUERZUNG_LEERZEICHEN");
langTool.disableRule("TYPOGRAFISCHE_ANFUEHRUNGSZEICHEN");
SwebleWikipediaTextFilter filter = new SwebleWikipediaTextFilter();
PlainTextMapping mapping = filter.filter(origMarkup);
List<RuleMatch> matches = langTool.check(mapping.getPlainText());
assertThat("Expected 3 matches, got: " + matches, matches.size(), is(3));