PHP Класс eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserUpdateTest

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

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

Метод Описание
getParseHrefExpectationsMap ( )
testParse ( ) Tests the UserUpdate parser.
testParseExceptionOnInvalidFields ( ) Test UserUpdate parser throwing exception on invalid fields data.
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) Test UserUpdate parser throwing exception on missing field definition identifier.
testParseExceptionOnMissingFieldValue ( ) Test UserUpdate parser throwing exception on missing field value.
testParseExceptionOnMissingSectionHref ( ) Test UserUpdate parser throwing exception on missing Section href.

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

Метод Описание
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService Get the Content service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserUpdate Returns the UserUpdate parser.

Приватные методы

Метод Описание
getFieldTypeParserMock ( ) : eZ\Publish\Core\REST\Common\Input\FieldTypeParser; Get the field type parser mock object.

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

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

Get the Content service mock object.
protected getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService
Результат eZ\Publish\API\Repository\ContentService

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

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

Get the user service mock object.
protected getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService
Результат eZ\Publish\API\Repository\UserService

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

Returns the UserUpdate parser.
protected internalGetParser ( ) : UserUpdate
Результат eZ\Publish\Core\REST\Server\Input\Parser\UserUpdate

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

Tests the UserUpdate parser.
public testParse ( )

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

Test UserUpdate parser throwing exception on invalid fields data.

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

Test UserUpdate parser throwing exception on missing field definition identifier.

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

Test UserUpdate parser throwing exception on missing field value.

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

Test UserUpdate parser throwing exception on missing Section href.