sitecore Ensure two values are equal


Example

Compares two values for equality. It can compare strings, integers, and Boolean values only.

Assert.AreEqual(documentElement.LocalName, "xamlControls", "Xaml files must have a root node named 'xamlControls'.");