func NewTestDelayNode(title string, delay time.Duration) *TestDelayNode { node := &TestDelayNode{} node.ID = bgo.CreateUUID() node.Category = bgo.ACTION node.Name = "TestDelayNode" node.Title = title node.delay = delay return node }
func NewTestNode(title string, statusResponse bgo.Status) *TestNode { node := &TestNode{} node.ID = bgo.CreateUUID() node.Category = bgo.ACTION node.Name = "TestNode" node.Title = title node.statusResponse = statusResponse return node }