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