*/
public static ActivityDTO buildActivityDTO(final DestinationStreamTestState streamState, final boolean shareVerb,
final CommentDTO inTestComment, final Long inDestinationId)
{
ActivityDTO currentActivity = new ActivityDTO();
StreamEntityDTO destinationStream;
switch (streamState)
{
case NULLSTREAM:
currentActivity.setDestinationStream(null);
break;
case NULLIDENTIFIER:
destinationStream = new StreamEntityDTO();
currentActivity.setDestinationStream(destinationStream);
break;
case EMPTYIDENTIFIER:
destinationStream = new StreamEntityDTO();
destinationStream.setUniqueIdentifier("");
destinationStream.setType(EntityType.PERSON);
currentActivity.setDestinationStream(destinationStream);
break;
case INVALIDTYPE:
destinationStream = new StreamEntityDTO();
destinationStream.setUniqueIdentifier("destStream");
destinationStream.setType(EntityType.APPLICATION);
break;
default:
destinationStream = new StreamEntityDTO();
destinationStream.setUniqueIdentifier("destStream");
destinationStream.setType(EntityType.PERSON);
destinationStream.setDestinationEntityId(inDestinationId);
currentActivity.setDestinationStream(destinationStream);
break;
}
if (shareVerb)
{