### Question:
StudyActivityPresentation { public ObservableList<Note> getNotesModel() { return d_newActivity.getNotes(); } StudyActivityPresentation(ObservableList<StudyActivity> activityList, SortedSetModel<Drug> drugOptions);  StudyActivityPresentation(ObservableList<StudyActivity> activityList, SortedSetModel<Drug> drugOptions, StudyActivity activity); boolean isEditing(); ValueModel getNameModel(); ObservableList<Note> getNotesModel(); ValueModel getActivityModel(); List<Activity> getActivityOptions(); TreatmentActivityPresentation getTreatmentModel(); OtherActivityPresentation getOtherActivityModel(); ValueHolder<Boolean> getValidModel(); void commit(); SortedSetModel<Drug> getDrugOptions();  }### Answer:
@Test public void testNotesModel() { StudyActivityPresentation pm1 = new StudyActivityPresentation(d_emptyList, null, d_activity); assertEquals(Collections.emptyList(), pm1.getNotesModel()); d_activity.getNotes().add(new Note()); assertEquals(Collections.emptyList(), pm1.getNotesModel()); StudyActivityPresentation pm2 = new StudyActivityPresentation(d_emptyList, null, d_activity); assertEquals(Collections.singletonList(new Note()), pm2.getNotesModel()); }