var _ … type fakeCelFilter … func (f *fakeCelFilter) ForInput(ctx context.Context, versionedAttr *admission.VersionedAttributes, request *admissionv1.AdmissionRequest, optionalVars cel.OptionalVariableBindings, namespace *corev1.Namespace, costBudget int64) ([]cel.EvaluationResult, int64, error) { … } func (f *fakeCelFilter) CompilationErrors() []error { … } var _ … type fakeCELMatcher … func (f *fakeCELMatcher) Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) matchconditions.MatchResult { … } func TestValidate(t *testing.T) { … } func TestContextCanceled(t *testing.T) { … }