// NewTestQueue creates a priority queue with an empty informer factory. func NewTestQueue(ctx context.Context, lessFn framework.LessFunc, opts ...Option) *PriorityQueue { … } // NewTestQueueWithObjects creates a priority queue with an informer factory // populated with the provided objects. func NewTestQueueWithObjects( ctx context.Context, lessFn framework.LessFunc, objs []runtime.Object, opts ...Option, ) *PriorityQueue { … } func NewTestQueueWithInformerFactory( ctx context.Context, lessFn framework.LessFunc, informerFactory informers.SharedInformerFactory, opts ...Option, ) *PriorityQueue { … }