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

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

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

Метод Описание
getParseHrefExpectationsMap ( )
testParse ( ) Tests the ContentTypeCreate parser.
testParseExceptionOnInvalidDescriptions ( ) Test ContentTypeCreate parser throwing exception on invalid descriptions.
testParseExceptionOnInvalidFieldDefinition ( ) Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.
testParseExceptionOnInvalidFieldDefinitions ( ) Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.
testParseExceptionOnInvalidNames ( ) Test ContentTypeCreate parser throwing exception on invalid names.
testParseExceptionOnInvalidUser ( ) Test ContentTypeCreate parser throwing exception on invalid User.
testParseExceptionOnMissingFieldDefinitions ( ) Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.
testParseExceptionOnMissingIdentifier ( ) Test ContentTypeCreate parser throwing exception on missing identifier.
testParseExceptionOnMissingMainLanguageCode ( ) Test ContentTypeCreate parser throwing exception on missing mainLanguageCode.

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

Метод Описание
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
getInputArray ( ) : array Returns the array under test.
internalGetParser ( ) : ContentTypeCreate Returns the ContentTypeCreate parser.

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

Метод Описание
getFieldDefinitionCreateParserMock ( ) : FieldDefinitionCreate Returns the FieldDefinitionCreate parser mock object.

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

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

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

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

Returns the array under test.
protected getInputArray ( ) : array
Результат array

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

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

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

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

Tests the ContentTypeCreate parser.
public testParse ( )

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

Test ContentTypeCreate parser throwing exception on invalid descriptions.

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

Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.

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

Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.

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

Test ContentTypeCreate parser throwing exception on invalid names.

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

Test ContentTypeCreate parser throwing exception on invalid User.

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

Test ContentTypeCreate parser throwing exception on invalid FieldDefinitions.

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

Test ContentTypeCreate parser throwing exception on missing identifier.

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

Test ContentTypeCreate parser throwing exception on missing mainLanguageCode.