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