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