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