func (s *workItemLinkTypeSuite) createDemoLinkType(name string) *app.CreateWorkItemLinkTypePayload {
	//   1. Create a space
	createSpacePayload := CreateSpacePayload(s.spaceName, "description")
	_, space := test.CreateSpaceCreated(s.T(), s.svc.Context, s.svc, s.spaceCtrl, createSpacePayload)
	s.spaceID = space.Data.ID

	//	 2. Create at least one work item type
	workItemTypePayload := CreateWorkItemType(uuid.NewV4(), *space.Data.ID)
	_, workItemType := test.CreateWorkitemtypeCreated(s.T(), s.svc.Context, s.svc, s.typeCtrl, s.spaceID.String(), &workItemTypePayload)
	require.NotNil(s.T(), workItemType)

	//   3. Create a work item link category
	createLinkCategoryPayload := CreateWorkItemLinkCategory(s.categoryName)
	_, workItemLinkCategory := test.CreateWorkItemLinkCategoryCreated(s.T(), s.svc.Context, s.svc, s.linkCatCtrl, createLinkCategoryPayload)
	require.NotNil(s.T(), workItemLinkCategory)

	// 4. Create work item link type payload
	createLinkTypePayload := CreateWorkItemLinkType(name, *workItemType.Data.ID, *workItemType.Data.ID, *workItemLinkCategory.Data.ID, *space.Data.ID)
	return createLinkTypePayload
}
// createDemoType creates a demo work item link type of type "name"
createDemoType creates a demo work item link type of type "name"
// createDemoType creates a demo work item link type of type " name "
func (s *workItemLinkTypeSuite) createDemoLinkType(name string) *app.CreateWorkItemLinkTypePayload {
	createSpacePayload := CreateSpacePayload(s.spaceName, "description")
	_, space := test.CreateSpaceCreated(s.T(), s.svc.Context, s.svc, s.spaceCtrl, createSpacePayload)
	s.spaceID = space.Data.ID
	workItemTypePayload := CreateWorkItemType(uuid.NewV4(), *space.Data.ID)
	_, workItemType := test.CreateWorkitemtypeCreated(s.T(), s.svc.Context, s.svc, s.typeCtrl, s.spaceID.String(), &workItemTypePayload)
	require.NotNil(s.T(), workItemType)
	createLinkCategoryPayload := CreateWorkItemLinkCategory(s.categoryName)
	_, workItemLinkCategory := test.CreateWorkItemLinkCategoryCreated(s.T(), s.svc.Context, s.svc, s.linkCatCtrl, createLinkCategoryPayload)
	require.NotNil(s.T(), workItemLinkCategory)
	createLinkTypePayload := CreateWorkItemLinkType(name, *workItemType.Data.ID, *workItemType.Data.ID, *workItemLinkCategory.Data.ID, *space.Data.ID)
	return createLinkTypePayload
}
func ( s * workItemLinkTypeSuite ) createDemoLinkType ( name string ) * app . CreateWorkItemLinkTypePayload { createSpacePayload := CreateSpacePayload ( s . spaceName , " " ) _ , space := test . CreateSpaceCreated ( s . T ( ) , s . svc . Context , s . svc , s . spaceCtrl , createSpacePayload ) s . spaceID = space . Data . ID workItemTypePayload := CreateWorkItemType ( uuid . NewV4 ( ) , * space . Data . ID ) _ , workItemType := test . CreateWorkitemtypeCreated ( s . T ( ) , s . svc . Context , s . svc , s . typeCtrl , s . spaceID . String ( ) , & workItemTypePayload ) require . NotNil ( s . T ( ) , workItemType ) createLinkCategoryPayload := CreateWorkItemLinkCategory ( s . categoryName ) _ , workItemLinkCategory := test . CreateWorkItemLinkCategoryCreated ( s . T ( ) , s . svc . Context , s . svc , s . linkCatCtrl , createLinkCategoryPayload ) require . NotNil ( s . T ( ) , workItemLinkCategory ) createLinkTypePayload := CreateWorkItemLinkType ( name , * workItemType . Data . ID , * workItemType . Data . ID , * workItemLinkCategory . Data . ID , * space . Data . ID ) return createLinkTypePayload }
createDemoType creates a demo work item link type of type "name"
createDemoType creates a demo work item link type of type " name "
//   1. Create a space //	 2. Create at least one work item type //   3. Create a work item link category // 4. Create work item link type payload