"The motion to dismiss under N.C. R. Civ. P. 12(b)(6) tests the legal sufficiency of the complaint. In ruling on the motion the allegations of the complaint must be viewed as admitted, and on that basis the court must determine as a matter of law whether the allegations state a claim for which relief may be granted. Stanback v. Stanback, 297 N.C. 181, 185, 254 S.E.2d 611, 615 (1979) (citations omitted).
"This Court must conduct a de novo review of the pleadings to determine their legal sufficiency and to determine whether the trial court's ruling on the motion to dismiss was correct. Leary v. N.C. Forest Prods., Inc., 157 N.C. App. 396, 400, 580 S.E.2d 1, 4, aff'd per curiam, 357 N.C. 567, 597 S.E.2d 673 (2003).