eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentTypeInfoListTest::testResultContainsContentTypeInfoListAttributes PHP Method

testResultContainsContentTypeInfoListAttributes() public method

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