func TestCompileValidatingPolicyExpression(t *testing.T) { … } func BenchmarkCompile(b *testing.B) { … } type fakeValidationCondition … func (v *fakeValidationCondition) GetExpression() string { … } func (v *fakeValidationCondition) ReturnTypes() []*celgo.Type { … } type fakeAuditAnnotationCondition … func (v *fakeAuditAnnotationCondition) GetExpression() string { … } func (v *fakeAuditAnnotationCondition) ReturnTypes() []*celgo.Type { … }