Scalatest

Assertions can be made in Scalatest tests using the beXml helper:

result should beXml(<example>1</example>)
The source code for this page can be found here.