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

testLoadContentThrowsUnauthorizedException() public method

Test for the loadContent() method.
    public function testLoadContentThrowsUnauthorizedException()
    {
        // Set anonymous as current user
        $this->repository->setCurrentUser($this->getStubbedUser(10));
        $this->repository->getContentService()->loadContent(4);
    }
ContentBase