Set<UserId> userIds = new HashSet<UserId>(Arrays.asList(new UserId(UserId.Type.userId, VALID_USER_ID)));
SecurityToken securityToken = getMockSecurityToken(ownerId, viewerId, applicationId, VALID_MODULE_ID);
List<Person> users = Arrays.asList(validPerson);
GroupId groupId = new GroupId(GroupId.Type.self, "@self");
expect(personService.getPeople(userIds, groupId, null, securityToken)).andReturn(users);
replay(personService);
expect(appDataRepository.getApplicationData(convertPeopleToUserIds(users), applicationId)).andReturn(
applicationData == null ? new ArrayList<ApplicationData>() : Arrays.asList(applicationData));