eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentTypeGroupListTest::testResultContainsContentTypeGroupListAttributes PHP Method

testResultContainsContentTypeGroupListAttributes() public method

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