private ActivityObject newActivityObject() {
   return new ActivityObject(
       ActivityObject.params()
           .id("urn:1")
           .alternateLinkUri(URI.create("http://example.com/1"))
           .activityObjectType(issue()));
 }
 public ActivityObjectType apply(ActivityObject o) {
   return o.getActivityObjectType();
 }