eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestUserGroupRoleAssignmentTest::testResultContainsRoleAttributes PHP Method

testResultContainsRoleAttributes() public method

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