public function testCreatorHref(\DOMDocument $dom) { $this->assertXPath($dom, '/ContentType/Creator[@href="/user/users/creatorId"]'); }