eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadContentByRemoteIdWithVersionThrowsUnauthorizedException PHP Метод

testLoadContentByRemoteIdWithVersionThrowsUnauthorizedException() публичный Метод

Test for the loadContentByRemoteId() method.
    public function testLoadContentByRemoteIdWithVersionThrowsUnauthorizedException()
    {
        $contentService = $this->repository->getContentService();
        $content = $contentService->loadContent(4);
        $draft = $contentService->createContentDraft($content->contentInfo);
        $this->repository->setCurrentUser($this->getStubbedUser(10));
        $contentService->loadContentByRemoteId($draft->contentInfo->remoteId, null, $draft->versionInfo->versionNo);
    }
ContentBase