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