eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentTypeListTest::testResultContainsContentTypeListAttributes PHP Method

testResultContainsContentTypeListAttributes() public method

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