PHP Класс eZ\Publish\Core\REST\Client\Tests\Input\Parser\ContentTest

Наследование: extends BaseTest
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$contentServiceMock eZ\Publish\Core\REST\Client\ContentService
$fieldTypeParserMock eZ\Publish\Core\REST\Common\Input\FieldTypeParser
$versionInfoParserMock eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo

Открытые методы

Метод Описание
testParse ( ) : eZ\Publish\API\Repository\Values\Content\Content Tests the section parser.
testParsedFirstNameField ( $parsedContent )
testParsedLastNameField ( $parsedContent )
testParsedVersionInfo ( $parsedContent )

Защищенные методы

Метод Описание
getContentServiceMock ( ) : ContentService
getFieldTypeParserMock ( ) : FieldTypeParser
getParser ( ) : Content Gets the section parser.
getVersionInfoParserMock ( ) : VersionInfo

Описание методов

getContentServiceMock() защищенный Метод

protected getContentServiceMock ( ) : ContentService
Результат eZ\Publish\Core\REST\Client\ContentService

getFieldTypeParserMock() защищенный Метод

protected getFieldTypeParserMock ( ) : FieldTypeParser
Результат eZ\Publish\Core\REST\Common\Input\FieldTypeParser

getParser() защищенный Метод

Gets the section parser.
protected getParser ( ) : Content
Результат eZ\Publish\Core\REST\Client\Input\Parser\Content

getVersionInfoParserMock() защищенный Метод

protected getVersionInfoParserMock ( ) : VersionInfo
Результат eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo

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

Tests the section parser.
public testParse ( ) : eZ\Publish\API\Repository\Values\Content\Content
Результат eZ\Publish\API\Repository\Values\Content\Content

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

public testParsedFirstNameField ( $parsedContent )

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

public testParsedLastNameField ( $parsedContent )

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

public testParsedVersionInfo ( $parsedContent )

Описание свойств

$contentServiceMock защищенное свойство

protected ContentService,eZ\Publish\Core\REST\Client $contentServiceMock
Результат eZ\Publish\Core\REST\Client\ContentService

$fieldTypeParserMock защищенное свойство

protected FieldTypeParser,eZ\Publish\Core\REST\Common\Input $fieldTypeParserMock
Результат eZ\Publish\Core\REST\Common\Input\FieldTypeParser

$versionInfoParserMock защищенное свойство

protected VersionInfo,eZ\Publish\Core\REST\Client\Input\Parser $versionInfoParserMock
Результат eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo