public function testUriTagValue(\DOMDocument $dom) { $this->assertXPath($dom, '/ContentImageVariation/uri[text()="/path/to/image/123/456789/variation.png"]'); }