public function testUserTypeHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/User/ContentType[@href="/content/types/contentType23"]'); }