private JobDefinition createJobDefinition() throws Exception {
  namespaceDaoTestHelper.createNamespaceEntity(TEST_ACTIVITI_NAMESPACE_CD);
  JobDefinitionCreateRequest request=jobDefinitionServiceTestHelper.createJobDefinitionCreateRequest();
  JobDefinition jobDefinition=jobDefinitionService.createJobDefinition(request,false);
  validateJobDefinition(jobDefinition);
  return jobDefinition;
}

private JobDefinition createJobDefinition ( ) throws Exception { namespaceDaoTestHelper . createNamespaceEntity ( TEST_ACTIVITI_NAMESPACE_CD ) ; JobDefinitionCreateRequest request = jobDefinitionServiceTestHelper . createJobDefinitionCreateRequest ( ) ; JobDefinition jobDefinition = jobDefinitionService . createJobDefinition ( request , false ) ; validateJobDefinition ( jobDefinition ) ; return jobDefinition ; }
creates a new standard job definition .
