*/
private List<RestActivity> createActivities(int numberOfActivity) throws SocialClientLibException {
List<RestActivity> createdActivityList = new ArrayList<RestActivity>();
for (int i = 0; i < numberOfActivity; i++) {
RestActivity restActivityToCreate = new RestActivity();
restActivityToCreate.setTitle("test " + i);
RestActivity createdActivity = activityService.create(restActivityToCreate);
createdActivityList.add(createdActivity);
tearDownActivityList.add(createdActivity);
}
return createdActivityList;
}