The party or witness may be required to attend before the judge or before a referee appointed by the court or judge. If before a referee, the examination must be taken by the referee and certified by the judge. All examinations and answers before a judge or referee under sections 25-1564 to 25-1580 must be on oath, but when a corporation answers, the answer must be on the oath of an officer thereof.
Neb. Rev. Stat. §§ 25-1571