A woman can deny a man a paternity test unless there is a lawsuit or a legal proceeding that has been filed. The father can have his lawyer file a motion with the court, and there would be a hearing.