public Job createJobFromActivitiXml(String activitiXml,List<Parameter> parameters) throws Exception {
  jobDefinitionServiceTestHelper.createJobDefinitionForActivitiXml(activitiXml);
  return jobService.createAndStartJob(createJobCreateRequest(AbstractServiceTest.TEST_ACTIVITI_NAMESPACE_CD,AbstractServiceTest.TEST_ACTIVITI_JOB_NAME,parameters));
}

public Job createJobFromActivitiXml ( String activitiXml , List < Parameter > parameters ) throws Exception { jobDefinitionServiceTestHelper . createJobDefinitionForActivitiXml ( activitiXml ) ; return jobService . createAndStartJob ( createJobCreateRequest ( AbstractServiceTest . TEST_ACTIVITI_NAMESPACE_CD , AbstractServiceTest . TEST_ACTIVITI_JOB_NAME , parameters ) ) ; }
creates a job based on the specified activiti xml .
