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

testLoadContentThrowsNotFoundExceptionContentNotFound() public method

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