In an action for a judgment declaring, inter alia, that a motor vehicle owned by defendant F.G.L. Drug Corp. and insured by the defendant Continental Insurance Company was operated by an employee of the plaintiff with the knowledge, permission and consent of F.G.L. Drug Corp. at the time that it was involved in a motor vehicle accident on September 20, 1982, and that Continental Insurance Company was obligated to defend and indemnify the plaintiff in connection with the action commenced against it by Joseph and Mary A. Gardner arising out of the motor vehicle accident, the defendants Continental Insurance Company and F.G.L. Drug Corp. appeal from an order of the Supreme Court, Nassau County (Kelly, J.), dated January 6, 1986, which denied their motion to dismiss the complaint and sua sponte directed a joint trial of this declaratory judgment action with the action brought by the Gardners.
Ordered that the order is modified, by deleting the provision for a joint trial of this action and the Gardner personal injury action; as so modified, the order is affirmed, without costs or disbursements.
The court, however, did err in ordering a joint trial of this matter with the underlying personal injury action. The purpose of this declaratory judgment action is to resolve the issue of whether Continental Insurance Company has a duty to defend Master Collision, Inc., in the personal injury action brought by the Gardners (see, Colon v Aetna Life & Cas. Ins. Co.,
We have considered the appellants’ remaining contention and find it to be without merit. Lawrence, J. P., Weinstein, Rubin and Kooper, JJ., concur.
