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