### Question:
StudyActivityPresentation { public ValueModel getNameModel() { return d_nameHolder; } 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 testNameModel() { StudyActivityPresentation pm1 = new StudyActivityPresentation(d_emptyList, null, d_activity); assertEquals(d_activity.getName(), pm1.getNameModel().getValue()); pm1.getNameModel().setValue("Test"); assertEquals("Test", pm1.getNameModel().getValue()); JUnitUtil.assertNotEquals(d_activity.getName(), pm1.getNameModel().getValue()); }