public function testCreateContentDraftWithThirdArgument() { $time = time(); /* BEGIN: Use Case */ $contentService = $this->repository->getContentService(); $content = $contentService->loadContent(4); $draftContent = $contentService->createContentDraft($content->contentInfo, $content->getVersionInfo(), $this->repository->getCurrentUser()); /* END: Use Case */ $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\Content\\Content', $draftContent); return array('draftContent' => $draftContent, 'time' => $time); }