@Before
 public void init() {
   activity = createActivity();
   addSnippetParam("sample.activityId", activity.getActivityId());
   activityNode = createActivityNode(activity.getActivityId(), "Entry");
   addSnippetParam("sample.activityNodeId", activityNode.getActivityId());
 }
  @Before
  public void init() {
    activity = createActivity();
    addSnippetParam("sample.activityId", activity.getActivityId());

    id = getProperty("sample.id2");
    if (environment.isSmartCloud()) {
      id = getProperty("smartcloud.id2");
    }
    member = addMember(activity.getActivityId(), id);
    addSnippetParam("sample.memberId", member.getMemberId());
  }
  @Before
  public void init() {
    activity = createActivity();
    addSnippetParam("sample.activityId", activity.getActivityId());

    String id2 = getProperty("sample.id2");
    if (environment.isSmartCloud()) {
      id2 = getProperty("smartcloud.id2");
    }
    addSnippetParam("sample.userId2", id2);
  }
 @After
 public void destroy() {
   deleteActivity(activity.getActivityId());
 }
 @Before
 public void init() {
   activity = createActivity();
   addSnippetParam("sample.activityId", activity.getActivityId());
 }