}
// note: copied from HunspellRuleTest
@Test
public void testRuleWithSwissGerman() throws Exception {
final SwissGerman language = new SwissGerman();
final HunspellRule rule = new GermanSpellerRule(TestTools.getMessages("German"), language);
final JLanguageTool langTool = new JLanguageTool(language);
commonGermanAsserts(rule, langTool);
assertEquals(1, rule.match(langTool.getAnalyzedSentence("Der äußere Übeltäter.")).length); // ß not allowed in Swiss
assertEquals(0, rule.match(langTool.getAnalyzedSentence("Der äussere Übeltäter.")).length); // ss is used instead of ß