public class EsperantoTest {
@Test
public void test() throws IOException {
Esperanto language = new Esperanto();
assertThat(language.getCountries().length, is(0));
JLanguageTool languageTool = new JLanguageTool(language);
String input = "La Mondaj Ludoj de 2013 estis plur-sporta evento...";
List<RuleMatch> ruleMatches = languageTool.check(input);
assertThat(ruleMatches.size(), is(1));
assertThat(ruleMatches.get(0).getRule().getId(), is("HUNSPELL_NO_SUGGEST_RULE"));