Sense extends HasMonolingualExternalRefs implements IHasID, IHasDefinitions, IHasFrequencies, IHasSemanticLabels, Comparable<Sense> { public String getId() { return id; } Sense();  Sense(String id); String getId(); void setId(String id); int getIndex(); void setIndex(int index); Synset getSynset(); void setSynset(Synset synset); void setIncorporatedSemArg(SemanticArgument incorporatedSemArg); SemanticArgument getIncorporatedSemArg(); void setTransparentMeaning(Boolean transparentMeaning); Boolean isTransparentMeaning(); List<Sense> getSenses(); void setSenses(List<Sense> senses); List<Context> getContexts(); void setContexts(List<Context> contexts); List<PredicativeRepresentation> getPredicativeRepresentations(); void setPredicativeRepresentations(
			List<PredicativeRepresentation> predicativeRepresentations); List<SenseExample> getSenseExamples(); void setSenseExamples(List<SenseExample> senseExamples); List<Definition> getDefinitions(); void setDefinitions(List<Definition> definitions); List<SenseRelation> getSenseRelations(); void setSenseRelations(List<SenseRelation> senseRelations); List<Equivalent> getEquivalents(); List<Equivalent> getEquivalentsByLanguage(String language); void setEquivalents(List<Equivalent> equivalents); @Override List<MonolingualExternalRef> getMonolingualExternalRefs(); @Override void setMonolingualExternalRefs(List<MonolingualExternalRef> monolingualExternalRefs); LexicalEntry getLexicalEntry(); void setLexicalEntry(LexicalEntry lexicalEntry); String getDefinitionText(); void setFrequencies(List<Frequency> frequencies); List<Frequency> getFrequencies(); void setSemanticLabels(List<SemanticLabel> semanticLabels); List<SemanticLabel> getSemanticLabels(); boolean addSemanticLabel(SemanticLabel semanticLabel); @Override String toString(); @Override int compareTo(Sense o); @Override boolean equals(Object other); @Override int hashCode();  }
@Test public void testSenseWithId(){ String senseId = "senseId"; Sense sense = new Sense(senseId); assertEquals(senseId, sense.getId()); }