eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadContentWithVersionThrowsUnauthorizedException PHP Method

testLoadContentWithVersionThrowsUnauthorizedException() public method

Test for the loadContent() method.
    public function testLoadContentWithVersionThrowsUnauthorizedException()
    {
        list($draft) = $this->createTestContent();
        $this->repository->setCurrentUser($this->getStubbedUser(10));
        $this->repository->getContentService()->loadContent($draft->id, null, $draft->versionInfo->versionNo);
    }
ContentBase