PHP Class eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension\ContentExtensionTest

Tests ContentExtension in context of site with "fre-FR, eng-US" configured as languages.
Inheritance: extends FileSystemTwigIntegrationTestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
getExtensions ( )
getFixturesDir ( )

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
getConfigResolverMock ( )

Method Details

getContent() protected méthode

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

getContentTypeServiceMock() protected méthode

protected getContentTypeServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject
Résultat PHPUnit_Framework_MockObject_MockObject

getExtensions() public méthode

public getExtensions ( )

getField() protected méthode

protected getField ( $isEmpty )

getFixturesDir() public méthode

public getFixturesDir ( )

getRepositoryMock() protected méthode

protected getRepositoryMock ( ) : PHPUnit_Framework_MockObject_MockObject
Résultat PHPUnit_Framework_MockObject_MockObject