// TestPodAdmission verifies various scenarios involving pod/namespace tolerations func TestPodAdmission(t *testing.T) { … } func TestHandles(t *testing.T) { … } func TestIgnoreUpdatingInitializedPod(t *testing.T) { … } // newHandlerForTest returns the admission controller configured for testing. func newHandlerForTest(c kubernetes.Interface) (*Plugin, informers.SharedInformerFactory, error) { … }