### Question:
Note extends AbstractEntity { public Source getSource(){ return d_source; } Note();  Note(Source source);  Note(Source source, String text); @Override Set<? extends Entity> getDependencies(); void setText(String text); String getText(); @Override String toString(); Source getSource(); void setSource(Source source); boolean equals(Object o); boolean deepEquals(Entity other); int hashCode(); static final String PROPERTY_TEXT; static final String PROPERTY_SOURCE; }### Answer:
@Test public void testGetSource() { Note n = new Note(Source.CLINICALTRIALS, "test"); assertEquals(Source.CLINICALTRIALS, n.getSource()); }