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 DiffOptions.default during the comparison. This can be overridden with a global implicit of DiffOptions or on an individual basis:
implicit val diffOptions: DiffOptions = DiffOptions(IgnoreNamespace) result must beXml(<example>1</example>) // or result must beXml(<example>1</example>)(DiffOptions.empty)
Companion object to the XmlMatchers trait for use as an alternative to mixing it in.