eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadContentThrowsNotFoundExceptionLanguageNotFoundVariation PHP Метод

testLoadContentThrowsNotFoundExceptionLanguageNotFoundVariation() публичный Метод

Test for the loadContent() method.
    public function testLoadContentThrowsNotFoundExceptionLanguageNotFoundVariation()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        // Content only exists in eng-US, so we should only have it in eng-US.
        $content = $contentService->loadContent(4, array('eng-US', 'eng-GB'));
        $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\Content\\Content', $content);
        $this->assertContentValues($content, array('eng-US'));
        /* END: Use Case */
    }
ContentBase