public function testCountryListId(\DOMDocument $dom) { $this->assertXPath($dom, '/CountryList/Country[1][@id="VA"]'); $this->assertXPath($dom, '/CountryList/Country[2][@id="HM"]'); }