@Test public void testSetAcquisitionDate() { ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); UserContext context = new UserContext(map); Date date = new Date(); context.setAcquisitionDate(date); assertEquals(context.getAcquisitionDate(), date); assertEquals(1, map.size()); }
public void setAcquisitionDate(Date version) { MapUtil.setDateValueOrRemove(tags, ContextTagKeys.getKeys().getUserAccountAcquisitionDate(), version); }
UserContext { public void setAcquisitionDate(Date version) { MapUtil.setDateValueOrRemove(tags, ContextTagKeys.getKeys().getUserAccountAcquisitionDate(), version); } }
UserContext { public void setAcquisitionDate(Date version) { MapUtil.setDateValueOrRemove(tags, ContextTagKeys.getKeys().getUserAccountAcquisitionDate(), version); } UserContext(ConcurrentMap<String, String> tags); }
UserContext { public void setAcquisitionDate(Date version) { MapUtil.setDateValueOrRemove(tags, ContextTagKeys.getKeys().getUserAccountAcquisitionDate(), version); } UserContext(ConcurrentMap<String, String> tags); String getId(); void setId(String version); void setAccountId(String version); String getUserAgent(); void setUserAgent(String version); Date getAcquisitionDate(); void setAcquisitionDate(Date version); }
UserContext { public void setAcquisitionDate(Date version) { MapUtil.setDateValueOrRemove(tags, ContextTagKeys.getKeys().getUserAccountAcquisitionDate(), version); } UserContext(ConcurrentMap<String, String> tags); String getId(); void setId(String version); void setAccountId(String version); String getUserAgent(); void setUserAgent(String version); Date getAcquisitionDate(); void setAcquisitionDate(Date version);  }