}
addMember(community, id, "member");
addSnippetParam("CommunityService.communityUuid", community.getCommunityUuid());
JavaScriptPreviewPage previewPage = executeSnippet(SNIPPET_ID);
List jsonList = previewPage.getJsonList();
Assert.assertFalse("Get community members returned no members", jsonList.isEmpty());
Assert.assertEquals(2, jsonList.size());
assertMemberValid((JsonJavaObject)jsonList.get(0), community.getCommunityUuid(),
name1, userid1, email1, "owner");
assertMemberValid((JsonJavaObject)jsonList.get(1), community.getCommunityUuid(),