/**
* @When /^I create an edit request for this draft$/
*/
public function iCreateAnEditRequestForThisDraft()
{
$url = sprintf('/content/objects/%d/versions/%d', $this->currentDraft->content->id, $this->currentDraft->content->versionInfo->versionNo);
$this->restContext->createRequest('patch', $url);
$this->restContext->requestObject = new VersionUpdate(['contentUpdateStruct' => $this->contentService->newContentUpdateStruct(), 'contentType' => $this->currentDraft->contentType]);
$this->restContext->setHeaderWithObject('content-type', 'VersionUpdate');
}