eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentTypeGroupTest::testResultContainsContentTypeGroupAttributes PHP Method

testResultContainsContentTypeGroupAttributes() public method

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