/** * @When /^I create a draft of this content$/ */ public function iCreateADraftOfThisContent() { $this->restContext->createAndSendRequest('copy', '/content/objects/' . $this->currentContent->id . '/currentversion'); $this->currentDraft = $this->restContext->getResponseObject(); }