eZ\Bundle\EzPublishRestBundle\Tests\Functional\RootTest::testResultContainsUsersByRoleIdentifierTagAttributes PHP Метод

testResultContainsUsersByRoleIdentifierTagAttributes() публичный Метод

    public function testResultContainsUsersByRoleIdentifierTagAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'usersByRoleId', 'attributes' => array('media-type' => 'application/vnd.ez.api.UserRefList+xml', 'href' => '/api/ezp/v2/user/users{?roleId}')), $result, 'Invalid <usersByRoleId> tag attributes.', false);
    }
RootTest