Evidence shall be restricted by the rules of evidence and procedure prevailing in the courts. All testimony shall be given under oath or affirmation, and the right of subpoena shall be accorded to either the appointing authority or the person so notified. Any judge of a court of record, either in term time or in vacation, shall, upon proper application of the appointing authority or person so notified, compel the attendance of witnesses, the production of books and papers, and the giving of testimony before the appointing authority, by attachment for contempt or otherwise, in the same manner as the production of evidence may be compelled before such court. Reasonable examination and cross-examination shall be permitted.
65 P.S. § 221