Opinion ID: 1482375
Heading Depth: 1
Heading Rank: 3

Heading: standard of review

Text: A motion to dismiss pursuant to M.R.Civ.P. 12(b)(6) tests the legal sufficiency of the complaint. Richards v. Soucy, 610 A.2d 268, 270 (Me.1992). When we review a judgment granting a motion to dismiss, we treat the material allegations of the complaint as admitted, Choroszy v. Tso, 647 A.2d 803, 805 (Me.1994), and we examine the complaint in the light most favorable to the plaintiff to determine whether it alleges the elements of a cause of action against the defendant or alleges facts that could entitle the plaintiff to relief under some legal theory, Larrabee v. Penobscot Frozen Foods Inc., 486 A.2d 97, 99 (Me.1984). A dismissal for failure to state a cause of action is proper only when it appears beyond doubt that a plaintiff is entitled to no relief under any set of facts that might be proven in support of the claim. Bowen v. Eastman, 645 A.2d 5, 6 (Me.1994).