Section 1996.
Such order can only be made on the motion of a party, upon affidavit showing the nature of the action or proceeding, the testimony expected from the witness, and its materiality.
(Enacted 1872.)