protected void addMessage(int workflowAction) throws Exception {
   _message =
       MBTestUtil.addMessageWithWorkflow(
           _group.getGroupId(),
           MBCategoryConstants.DEFAULT_PARENT_CATEGORY_ID,
           workflowAction == WorkflowConstants.ACTION_PUBLISH);
 }
  @Override
  protected void addActivities() throws Exception {
    MBMessage message = MBTestUtil.addMessage(group.getGroupId());

    _threadId = message.getThreadId();
  }
Ejemplo n.º 3
0
  @Override
  protected StagedModel addStagedModel(
      Group group, Map<String, List<StagedModel>> dependentStagedModelsMap) throws Exception {

    return MBTestUtil.addBan(group.getGroupId());
  }