public function testUpdateRoleDraft($roleDraftHref)
{
$xml = <<<XML
<?xml version="1.0" encoding="UTF-8"?>
<RoleInput>
<identifier>testUpdateRoleDraft</identifier>
<mainLanguageCode>eng-GB</mainLanguageCode>
<names>
<value languageCode="eng-GB">testUpdateRoleDraft</value>
</names>
<descriptions>
<value languageCode="eng-GB">testUpdateRoleDraft description</value>
</descriptions>
</RoleInput>
XML;
$request = $this->createHttpRequest('PATCH', $roleDraftHref, 'RoleInput+xml', 'RoleDraft+json');
$request->setContent($xml);
$response = $this->sendHttpRequest($request);
self::assertHttpResponseCodeEquals($response, 200);
}