Asserts that two XML documents are equal.
Asserts that two XML documents are equal.
Enables the following syntax:
result must beXml(<example>1</example>)
If unspecified this will use XmlCompare.DefaultOptions during the comparison. This can be overridden with a global implicit of DiffOptions or on an individual basis:
implicit val diffOptions: DiffOptions = Set(IgnoreNamespace) result must beXml(<example>1</example>) // or result must beXml(<example>1</example>)(Set.empty)
Companion object to the XmlMatchers trait for use as an alternative to mixing it in.