If your lawyer has filed a motion to dismiss, presumably your lawyer will file a brief in advance of your position, and then appear on the scheduled hearing date to argue that the facts and law support your statute of limitations defense. The plaintiff will present facts and law to suggest that the cause of action is timely. The judge will make a ruling, often at the conclusion of the hearing but sometimes after taking some time to review the parties' briefs and arguments.