eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\CountryListTest::testCountryListMediaType PHP Méthode

testCountryListMediaType() public méthode

public testCountryListMediaType ( DOMDocument $dom )
$dom DOMDocument
    public function testCountryListMediaType(\DOMDocument $dom)
    {
        $this->assertXPath($dom, '/CountryList/Country[1][@media-type="application/vnd.ez.api.Country+xml"]');
        $this->assertXPath($dom, '/CountryList/Country[2][@media-type="application/vnd.ez.api.Country+xml"]');
    }