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

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

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

Метод Описание
getParseHrefExpectationsMap ( )
testParse ( ) Tests the UserGroupCreate parser.
testParseExceptionOnInvalidContentType ( ) Test UserGroupCreate parser throwing exception on invalid ContentType.
testParseExceptionOnInvalidFieldDefinitionIdentifier ( ) Test UserGroupCreate parser throwing exception on invalid field definition identifier.
testParseExceptionOnInvalidFields ( ) Test UserGroupCreate parser throwing exception on invalid fields data.
testParseExceptionOnInvalidSection ( ) Test UserGroupCreate parser throwing exception on invalid Section.
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) Test UserGroupCreate parser throwing exception on missing field definition identifier.
testParseExceptionOnMissingFieldValue ( ) Test UserGroupCreate parser throwing exception on missing field value.
testParseExceptionOnMissingMainLanguageCode ( ) Test UserGroupCreate parser throwing exception on missing mainLanguageCode.

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

Метод Описание
getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType Get the content type used in UserGroupCreate parser.
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserGroupCreate Returns the UserGroupCreate parser.

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

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

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

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

Get the content type used in UserGroupCreate parser.
protected getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType
Результат eZ\Publish\API\Repository\Values\ContentType\ContentType

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

Get the content type service mock object.
protected getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService
Результат eZ\Publish\API\Repository\ContentTypeService

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

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

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

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

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

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

Tests the UserGroupCreate parser.
public testParse ( )

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

Test UserGroupCreate parser throwing exception on invalid ContentType.

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

Test UserGroupCreate parser throwing exception on invalid field definition identifier.

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

Test UserGroupCreate parser throwing exception on invalid fields data.

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

Test UserGroupCreate parser throwing exception on invalid Section.

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

Test UserGroupCreate parser throwing exception on missing field definition identifier.

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

Test UserGroupCreate parser throwing exception on missing field value.

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

Test UserGroupCreate parser throwing exception on missing mainLanguageCode.