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

testLoadContentInfoThrowsNotFoundException() public method

Test for the loadContentInfo() method.
    public function testLoadContentInfoThrowsNotFoundException()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        // Throws an exception because given contentId does not exist
        $contentInfo = $contentService->loadContentInfo(APIBaseTest::DB_INT_MAX);
        /* END: Use Case */
    }
ContentBase