LexicalEntry extends HasFrequencies implements IHasID, Comparable<LexicalEntry> { public LexicalEntry(String identifier){ this.id = identifier; } LexicalEntry(String identifier);  LexicalEntry(); String getId(); void setId(String id); EPartOfSpeech getPartOfSpeech(); void setPartOfSpeech(EPartOfSpeech partOfSpeech); String getSeparableParticle(); void setSeparableParticle(String separableParticle); Lemma getLemma(); void setLemma(Lemma lemma); List<WordForm> getWordForms(); void setWordForms(List<WordForm> wordForms); List<RelatedForm> getRelatedForms(); void setRelatedForms(List<RelatedForm> relatedForms); List<Sense> getSenses(); void setSenses(List<Sense> senses); List<SyntacticBehaviour> getSyntacticBehaviours(); void setSyntacticBehaviours(List<SyntacticBehaviour> syntacticBehaviours); Lexicon getLexicon(); void setLexicon(Lexicon lexicon); List<Synset> getSynsets(); String getLemmaForm(); void setListOfComponents(ListOfComponents listOfComponents); ListOfComponents getListOfComponents(); @Override void setFrequencies(List<Frequency> frequencies); @Override List<Frequency> getFrequencies(); @Override String toString(); @Override int compareTo(LexicalEntry o); @Override boolean equals(Object other); @Override int hashCode();  }
@Test public void testLexicalEntry(){ String id = "2"; lexicalEntry = new LexicalEntry(id); assertEquals(id, lexicalEntry.getId()); }