public function testWidthTagValue(\DOMDocument $dom) { $this->assertXPath($dom, '/ContentImageVariation/width[text()="600"]'); }