eZ\Bundle\EzPublishRestBundle\Tests\Functional\RootTest::testResultContainsContentTypesTagAttributes PHP Method

testResultContainsContentTypesTagAttributes() public method

    public function testResultContainsContentTypesTagAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'contentTypes', 'attributes' => array('media-type' => 'application/vnd.ez.api.ContentTypeInfoList+xml', 'href' => '/api/ezp/v2/content/types')), $result, 'Invalid <content> element.', false);
    }
RootTest