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

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

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

Метод Описание
getParseHrefExpectationsMap ( )
testParse ( ) Tests the ContentTypeUpdate parser.
testParseExceptionOnInvalidDescriptions ( ) Test ContentTypeUpdate parser throwing exception on invalid descriptions.
testParseExceptionOnInvalidNames ( ) Test ContentTypeUpdate parser throwing exception on invalid names.
testParseExceptionOnInvalidUser ( ) Test ContentTypeUpdate parser throwing exception on invalid User.

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

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

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

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 ContentTypeUpdate parser.
protected internalGetParser ( ) : ContentTypeUpdate
Результат eZ\Publish\Core\REST\Server\Input\Parser\ContentTypeUpdate

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

Tests the ContentTypeUpdate parser.
public testParse ( )

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

Test ContentTypeUpdate parser throwing exception on invalid descriptions.

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

Test ContentTypeUpdate parser throwing exception on invalid names.

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

Test ContentTypeUpdate parser throwing exception on invalid User.