Time to use triple quotes? Or, define a variable for the html... i.e. val expectedHtml = <a href>....

There's native XML support :)