"Did you mean <suggestion>typoh</suggestion>?", null);
langTool.addRule(ruleWithSuggestion);
final List<RuleMatch> matches2 = langTool.check("This is a typoh.");
assertEquals(0, matches2.size()); // no error anymore, as this is a suggestion
langTool.disableRule("TEST_ID");
final List<RuleMatch> matches3 = langTool.check("This is a typoh.");
assertEquals(1, matches3.size()); // an error again
}
}