Frequency implements Comparable<Frequency> { public IHasID getParent(){ return this.parent; }  void setCorpus(String corpus); String getCorpus(); void setFrequency(Integer frequency); Integer getFrequency(); void setGenerator(String generator); String getGenerator(); void setParent(IHasID parent); IHasID getParent(); void setParentId(String parentId); String getParentId(); String toString(); @Override int compareTo(Frequency o); int hashCode(); boolean equals(Object o);  }
@SuppressWarnings("deprecation") @Test public void testGetParent() { assertNull(frequency.getParent()); assertNull(frequency.getParentId()); }