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

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

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

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

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

Метод Описание
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService Get the content service mock object.
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService Get the location service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserGroupUpdate Returns the UserGroupUpdate 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

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

Get the location service mock object.
protected getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService
Результат eZ\Publish\API\Repository\LocationService

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

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

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

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

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

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

Tests the UserGroupUpdate parser.
public testParse ( )

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

Test UserGroupUpdate parser throwing exception on invalid fields data.

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

Test UserGroupUpdate parser throwing exception on missing field definition identifier.

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

Test UserGroupUpdate parser throwing exception on missing field value.

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

Test UserGroupUpdate parser throwing exception on missing Section href.