Closed as not planned
Description
When trying to test default generated controller code, I found that test doesn't cover SetupWithManager function. I tried to create/update resource, but CreateFunc/UpdateFunc defined in Predicates of SetupWithManager is not called.
Is it because envtest package doesn't emit event when there is change? Wondering how should we test CreateFunc/UpdateFunc in this case.
not sure whether this question is more appropriate here or in the kubebuilder repo.