johnDoe.setEmails(Lists.<ListField> newArrayList(new ListFieldImpl("work",
"john.doe@work.bar"), new ListFieldImpl("home", "john.doe@home.bar")));
activity = new ActivityImpl("activityId", johnDoe.getId());
MediaItemImpl mediaItem = new MediaItemImpl();
mediaItem.setMimeType("image/jpg");
mediaItem.setType(MediaItem.Type.IMAGE);
mediaItem.setUrl("http://foo.bar");
mediaItem.setLocation(new AddressImpl("Foo bar address"));
mediaItem.setNumViews("10000");
activity.setMediaItems(Lists.<MediaItem> newArrayList(mediaItem));
activity.setUrl("http://foo.com");
beanXmlConverter = new BeanXStreamAtomConverter(