public final void testSynthesizeStringString() throws IOException {
FrenchSynthesizer synth = new FrenchSynthesizer();
assertEquals(synth.synthesize(dummyToken("blablabla"), "blablabla").length, 0);
assertEquals("[nagent]", Arrays.toString(synth.synthesize(dummyToken("nager"), "V ind pres 3 p")));
}
private AnalyzedToken dummyToken(String tokenStr) {
return new AnalyzedToken(tokenStr, tokenStr, tokenStr);
}