UserId id = new UserId(UserId.Type.userId, ID_1);
UserId id2 = new UserId(UserId.Type.userId, ID_2);
HashSet<UserId> users = new HashSet<UserId>();
users.add(id);
users.add(id2);
GroupId groupId = new GroupId(GroupId.Type.self, GROUP_ID);
Set<String> fields = new HashSet<String>();
expect(repository.save(EasyMock.isA(ActivityStreamsEntryImpl.class))).andReturn(activityStreamsEntry);
expect(repository.get(ACTIVITY_ID)).andReturn(activityStreamsEntry);
expect(personService.getPeople(users,groupId,null,fields,token)).andReturn(ImmediateFuture.newInstance(new RestfulCollection<Person>(getDbPersonList())));