PHP 클래스 eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension\ContentExtensionTest

Tests ContentExtension in context of site with "fre-FR, eng-US" configured as languages.
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
getExtensions ( )
getFixturesDir ( )

보호된 메소드들

메소드 설명
getContent ( string $contentTypeIdentifier, array $fieldsData, array $namesData = [] ) : Content Creates content with initial/main language being fre-FR.
getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject
getField ( $isEmpty )
getRepositoryMock ( ) : PHPUnit_Framework_MockObject_MockObject

비공개 메소드들

메소드 설명
getConfigResolverMock ( )

메소드 상세

getContent() 보호된 메소드

Creates content with initial/main language being fre-FR.
protected getContent ( string $contentTypeIdentifier, array $fieldsData, array $namesData = [] ) : Content
$contentTypeIdentifier string
$fieldsData array
$namesData array
리턴 eZ\Publish\Core\Repository\Values\Content\Content

getContentTypeServiceMock() 보호된 메소드

protected getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject
리턴 PHPUnit_Framework_MockObject_MockObject

getExtensions() 공개 메소드

public getExtensions ( )

getField() 보호된 메소드

protected getField ( $isEmpty )

getFixturesDir() 공개 메소드

public getFixturesDir ( )

getRepositoryMock() 보호된 메소드

protected getRepositoryMock ( ) : PHPUnit_Framework_MockObject_MockObject
리턴 PHPUnit_Framework_MockObject_MockObject