If a judge is a witness to a will which is required by law to be proved before him, another judge shall be designated to take the testimony of witnesses to the will and to decide whether or not the will shall be admitted to probate. The judge who is the witness may proceed to administer the estate unless he is otherwise precluded therefrom by this Act.
755 ILCS 5/6-19