PHP Class eZ\Publish\Core\REST\Client\Tests\Input\Parser\ContentTypeTest

Inheritance: extends BaseTest
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$contentTypeServiceMock eZ\Publish\Core\REST\Client\ContentService
$versionInfoParserMock eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo

Méthodes publiques

Méthode Description
provideExpectedContentTypeProperties ( )
testParse ( ) : eZ\Publish\API\Repository\Values\Content\Content Tests the section parser.
testParsedProperties ( $propertyName, $expectedValue, $parsedContentType )

Méthodes protégées

Méthode Description
getContentTypeServiceMock ( ) : ContentService
getParser ( ) : ContentType Gets the section parser.

Method Details

getContentTypeServiceMock() protected méthode

protected getContentTypeServiceMock ( ) : ContentService
Résultat eZ\Publish\Core\REST\Client\ContentService

getParser() protected méthode

Gets the section parser.
protected getParser ( ) : ContentType
Résultat eZ\Publish\Core\REST\Client\Input\Parser\ContentType

provideExpectedContentTypeProperties() public méthode

testParse() public méthode

Tests the section parser.
public testParse ( ) : eZ\Publish\API\Repository\Values\Content\Content
Résultat eZ\Publish\API\Repository\Values\Content\Content

testParsedProperties() public méthode

public testParsedProperties ( $propertyName, $expectedValue, $parsedContentType )

Property Details

$contentTypeServiceMock protected_oe property

protected ContentService,eZ\Publish\Core\REST\Client $contentTypeServiceMock
Résultat eZ\Publish\Core\REST\Client\ContentService

$versionInfoParserMock protected_oe property

protected VersionInfo,eZ\Publish\Core\REST\Client\Input\Parser $versionInfoParserMock
Résultat eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo