func TestPodConstraintsFunc(t *testing.T) { … } func TestPodEvaluatorUsage(t *testing.T) { … } func TestPodEvaluatorUsageStats(t *testing.T) { … } func TestPodEvaluatorMatchingScopes(t *testing.T) { … } func TestPodEvaluatorUsageResourceResize(t *testing.T) { … } func BenchmarkPodMatchesScopeFunc(b *testing.B) { … } func mockListerForResourceFunc(listerForResource map[schema.GroupVersionResource]cache.GenericLister) quota.ListerForResourceFunc { … } func newGenericLister(groupResource schema.GroupResource, items []runtime.Object) cache.GenericLister { … } func makePod(name, pcName string, resList api.ResourceList, phase api.PodPhase) *api.Pod { … }