public static void assertEntryAbsent(SynonymMap synonynMap,String word) throws IOException {
  word=word.replace(' ',SynonymMap.WORD_SEPARATOR);
  BytesRef value=Util.get(synonynMap.fst,Util.toUTF32(new CharsRef(word),new IntsRefBuilder()));
  assertNull("There should be no synonyms for: " + word,value);
}

public static void assertEntryAbsent ( SynonymMap synonynMap , String word ) throws IOException { word = word . replace ( ' ' , SynonymMap . WORD_SEPARATOR ) ; BytesRef value = Util . get ( synonynMap . fst , Util . toUTF32 ( new CharsRef ( word ) , new IntsRefBuilder ( ) ) ) ; assertNull ( "There should be no synonyms for: " + word , value ) ; }
validates that there are no synonyms for the given word .
