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