TermSynonym { public boolean isLayperson() { return this.synonymType.equals(SynonymType.LAYPERSON_TERM); } TermSynonym(String value, TermSynonymScope scope, String synonymTypeName, List<TermXref> termXrefs, String synType); String getValue(); TermSynonymScope getScope(); String getSynonymTypeName(); List<TermXref> getTermXrefs(); @Override String toString(); boolean hasSynonymType(); boolean isLayperson(); boolean isAbbreviation(); boolean isUKspelling(); boolean isPluralForm(); boolean isObsoleteSynonym();  }
@Test void testLaypersonLabel() { assertTrue(termSynonym.isLayperson()); }