eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\RestContentMetadataUpdateStruct::testResultSectionElement PHP Method

testResultSectionElement() public method

Tests that result contains Section element.
public testResultSectionElement ( string $result )
$result string
    public function testResultSectionElement($result)
    {
        $this->assertXMLTag(array('tag' => 'Section', 'attributes' => array('media-type' => 'application/vnd.ez.api.Section+xml', 'href' => '/content/sections/23')), $result, 'Invalid attributes for <Section> element.', false);
    }