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

testLoadContentThrowsNotFoundExceptionLanguageNotFound() public method

Test for the loadContent() method.
    public function testLoadContentThrowsNotFoundExceptionLanguageNotFound()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        // Throws an exception because content does not exists in "fre-FR" language
        $content = $contentService->loadContent(4, array('fre-FR'), null, false);
        /* END: Use Case */
    }
ContentBase