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

testResultContainsContentTypesAttributes() public method

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