@Test public final void populate() { PostPopulator sut = new PostPopulator(); ActivityDTO activity = new ActivityDTO(); sut.populate(activity); Assert.assertEquals(ActivityVerb.POST, activity.getVerb()); }
public void populate(final ActivityDTO activity) { activity.setVerb(ActivityVerb.POST); }
PostPopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setVerb(ActivityVerb.POST); } }
PostPopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setVerb(ActivityVerb.POST); }  }
PostPopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setVerb(ActivityVerb.POST); }  void populate(final ActivityDTO activity); }
PostPopulator implements ActivityDTOPopulatorStrategy { public void populate(final ActivityDTO activity) { activity.setVerb(ActivityVerb.POST); }  void populate(final ActivityDTO activity);  }