I told my dad once that if I ever had a child, I would be requesting an immediate paternity test and he was like “WHAT?!” He said it was a horrible thing to say and that there’s no reason to.
At the same time there’s no reason someone would object to it if they weren’t cheating.