eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestLocationRootNodeTest::testResultContainsChildrenAttributes PHP Method

testResultContainsChildrenAttributes() public method

Test if result contains Children element attributes.
    public function testResultContainsChildrenAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'Children', 'attributes' => array('media-type' => 'application/vnd.ez.api.LocationList+xml', 'href' => '/content/locations/1/children')), $result, 'Invalid <Children> attributes.', false);
    }