@Test public final void populate() { NotePopulator sut = new NotePopulator(); ActivityDTO activity = new ActivityDTO(); sut.populate(activity); Assert.assertEquals(BaseObjectType.NOTE, activity.getBaseObjectType()); }
public void populate(final ActivityDTO activity) { activity.setBaseObjectType(BaseObjectType.NOTE); }
NotePopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setBaseObjectType(BaseObjectType.NOTE); } }
NotePopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setBaseObjectType(BaseObjectType.NOTE); }  }
NotePopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setBaseObjectType(BaseObjectType.NOTE); }  void populate(final ActivityDTO activity); }
NotePopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setBaseObjectType(BaseObjectType.NOTE); }  void populate(final ActivityDTO activity);  }