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