func TestAuthorizeClientBearerTokenNoops(t *testing.T) { … } func TestAuthorizeClientBearerTokenRequiredGroups(t *testing.T) { … } func TestNewWithDelegate(t *testing.T) { … } func checkPath(url string, expectedStatusCode int, expectedBody string, t *testing.T) { … } func checkExpectedPathsAtRoot(url string, expectedPaths []string, t *testing.T) { … } func TestAuthenticationAuditAnnotationsDefaultChain(t *testing.T) { … } type testBackend … func (b *testBackend) ProcessEvents(events ...*auditinternal.Event) bool { … } func TestNewErrorForbiddenSerializer(t *testing.T) { … } func TestNewFeatureGatedSerializer(t *testing.T) { … }