Plaintiff’s issuance of summons, affidavit and motion to adversely examine the defendant indicate that her cause of action, if any, related to the validity of the second deed of trust. From the record it appears that there was before the judge a motion to vacate the order for adverse examination and a petition under G.S. 45-21.31 to determine rights to funds held by the Clerk resulting from the sale under the first mortgage. The record does not disclose a motion to dismiss the action. The plaintiff had not filed her complaint and the plaintiff’s principal action was not before the court. Ordinarily a cause of action should not be dismissed before it is stated. When the complaint is filed, its sufficiency may then be tested. The dismissal of the action by the court below was premature and the judgment is .
Reversed!