public void XmlCompareConstrainsSimpleSimilarTest() { var expected = XmlSamples.GetContent("elements"); var actual = XmlSamples.GetContent("elements-with-different-order"); Assert.That(expected, IsXml.Similar(actual)); }
public void CompareNamespacesWithDifferentPrefixesIsSimilarTest() { var actual = XmlSamples.GetContent("ns"); var expected = XmlSamples.GetContent("ns-with-another-prefix"); Assert.That(expected, IsXml.Similar(actual)); }