public function testId(\DOMDocument $dom) { $this->assertXPath($dom, '/ContentType/id[text()="contentTypeId"]'); }