public function testCopyContentType() { $time = time(); /* BEGIN: Use Case */ $contentTypeService = $this->repository->getContentTypeService(); $commentType = $contentTypeService->loadContentTypeByIdentifier('comment'); $copiedCommentType = $contentTypeService->copyContentType($commentType); /* END: Use Case */ return array('originalType' => $commentType, 'copiedType' => $copiedCommentType, 'time' => $time, 'userId' => $this->repository->getCurrentUserReference()->getUserId()); }