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

testLoadContentThrowsNotFoundExceptionVersionNotFound() public method

Test for the loadContent() method.
    public function testLoadContentThrowsNotFoundExceptionVersionNotFound()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        // Throws an exception because version number APIBaseTest::DB_INT_MAX for content with id 4 does not exist
        $content = $contentService->loadContent(4, null, APIBaseTest::DB_INT_MAX);
        /* END: Use Case */
    }
ContentBase