type envTypeAndVersion … func TestBaseEnvironment(t *testing.T) { … } func isValid(env *cel.Env, expr string, activation any) (bool, error) { … } type fakeAuthorizer … func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { … }