Synset extends HasMonolingualExternalRefs implements IHasID, IHasDefinitions, Comparable<Synset> { public String getId() { return id; } Synset();  Synset(String id); String getId(); void setId(String id); List<Definition> getDefinitions(); void setDefinitions(List<Definition> definitions); List<SynsetRelation> getSynsetRelations(); void setSynsetRelations(List<SynsetRelation> synsetRelations); List<Sense> getSenses(); void setSenses(List<Sense> senses); List<Equivalent> getEquivalents(); List<Equivalent> getEquivalentsByLanguage(String language); String getGloss(); String getDefinitionText(); Set<String> getUsageExamples(); Lexicon getLexicon(); void setLexicon(Lexicon lexicon); @Override String toString(); @Override int compareTo(Synset o); @Override boolean equals(Object other); @Override int hashCode();  }
@Test public void testSynsetWithId(){ String synsetId = "synsetId"; Synset synset = new Synset(synsetId); assertEquals(synsetId, synset.getId()); }