assertThat(wikiModel.parseTemplates("{{formatnum:1401}}", false)).isEqualTo("1,401");
assertThat(wikiModel.parseTemplates("{{formatnum:987654321.654321}}", false)).isEqualTo("987,654,321.654");
assertThat(wikiModel.parseTemplates("{{FORMATNUM:987654321.654321}}", false)).isEqualTo("987,654,321.654");
WikiModel germanWikiModel = newWikiTestModel(Locale.GERMAN);
assertThat(germanWikiModel.parseTemplates("{{formatnum:1401}}", false)).isEqualTo("1.401");
assertThat(germanWikiModel.parseTemplates("{{formatnum:987654321.654321}}", false)).isEqualTo("987.654.321,654");
WikiModel italianWikiModel = newWikiTestModel(Locale.ITALIAN);
assertThat(italianWikiModel.parseTemplates("{{formatnum:1401}}", false)).isEqualTo("1.401");
assertThat(italianWikiModel.parseTemplates("{{formatnum:987654321}}", false)).isEqualTo("987.654.321");