final long scopeId = 100;
final long actorscopeId = 4;
ActivityDTO activity = new ActivityDTO();
activity.setShowInStream(false);
StreamEntityDTO destinationStream = new StreamEntityDTO();
destinationStream.setType(EntityType.RESOURCE);
destinationStream.setUniqueIdentifier("resource1");
StreamEntityDTO actorStream = new StreamEntityDTO();
actorStream.setType(EntityType.PERSON);
actorStream.setUniqueIdentifier("mrburns");
activity.setDestinationStream(destinationStream);
activity.setActor(actorStream);
activity.setId(activityId);