final String markup = "== Beispiele ==\n\n" +
"Eine kleine Auswahl von Fehlern.\n\n" +
"Das Komma ist richtig, wegen dem Leerzeichen.";
final MediaWikiContent wikiContent = new MediaWikiContent(markup, "2012-11-11T20:00:00");
final ErrorMarker errorMarker = new ErrorMarker("<err>", "</err>");
final MarkupAwareWikipediaResult result = check.checkWikipediaMarkup(new URL("http://fake-url.org"), wikiContent, new German(), errorMarker);
assertThat(result.getLastEditTimestamp(), is("2012-11-11T20:00:00"));
final List<AppliedRuleMatch> appliedMatches = result.getAppliedRuleMatches();
// even though this error has no suggestion, there's a (pseudo) correction:
assertThat(appliedMatches.size(), is(1));
final AppliedRuleMatch firstAppliedMatch = appliedMatches.get(0);