public function testLoadContentInfoThrowsUnauthorizedException() { // Set anonymous as current user $this->repository->setCurrentUser($this->getStubbedUser(10)); $this->repository->getContentService()->loadContentInfo(4); }