return response;
}
public MembershipResponse createMembershipResponse(String userId, String groupId, String serverRootUrl) {
MembershipResponse response = new MembershipResponse();
response.setGroupId(groupId);
response.setUserId(userId);
response.setUrl(formatUrl(serverRootUrl, RestUrls.URL_GROUP_MEMBERSHIP, groupId, userId));
return response;
}