private void CheckPageIsCustomizable(XmlElement newPage) { Assert.That(newPage.Attributes["class"].Value, Is.StringContaining("customPage")); }