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

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

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

Метод Описание
testParse ( ) Tests the ObjectStateCreate parser.
testParseExceptionOnInvalidNames ( ) Test ObjectStateCreate parser throwing exception on invalid names structure.
testParseExceptionOnMissingDefaultLanguageCode ( ) Test ObjectStateCreate parser throwing exception on missing defaultLanguageCode.
testParseExceptionOnMissingIdentifier ( ) Test ObjectStateCreate parser throwing exception on missing identifier.
testParseExceptionOnMissingNames ( ) Test ObjectStateCreate parser throwing exception on missing names.
testParseExceptionOnMissingPriority ( ) Test ObjectStateCreate parser throwing exception on missing priority.

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

Метод Описание
getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService Get the object state service mock object.
internalGetParser ( ) : ObjectStateCreate Returns the ObjectStateCreate parser.

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

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

Get the object state service mock object.
protected getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService
Результат eZ\Publish\API\Repository\ObjectStateService

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

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

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

Tests the ObjectStateCreate parser.
public testParse ( )

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

Test ObjectStateCreate parser throwing exception on invalid names structure.

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

Test ObjectStateCreate parser throwing exception on missing defaultLanguageCode.

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

Test ObjectStateCreate parser throwing exception on missing identifier.

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

Test ObjectStateCreate parser throwing exception on missing names.

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

Test ObjectStateCreate parser throwing exception on missing priority.