You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: manager_test.go
    path of file: ./repos/milvus/internal/querynodev2/pipeline
    
    the code of the file until where you have to start completion: // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE fil
    
func (suite *PipelineManagerTestSuite) SetupTest() {
	paramtable.Init()
	// init dependency
	//	init tsafeManager
	suite.tSafeManager = tsafe.NewTSafeReplica()
	suite.tSafeManager.Add(context.Background(), suite.channel, 0)
	suite.delegators = typeutil.NewConcurrentMap[string, delegator.ShardDelegator]()

	// init mock
	//	init manager
	suite.collectionManager = segments.NewMockCollectionManager(suite.T())
	suite.segmentManager = segments.NewMockSegmentManager(suite.T())
	//	init delegator
	suite.delegator = delegator.NewMockShardDelegator(suite.T())
	suite.delegators.Insert(suite.channel, suite.delegator)
	//	init mq dispatcher
	suite.msgDispatcher = msgdispatcher.NewMockClient(suite.T())
}