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

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

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

Метод Описание
testParse ( ) Tests the PolicyUpdate parser.
testParseExceptionOnMissingLimitationIdentifier ( ) Test PolicyUpdate parser throwing exception on missing identifier.
testParseExceptionOnMissingLimitationValues ( ) Test PolicyUpdate parser throwing exception on missing values.

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

Метод Описание
getRoleServiceMock ( ) : eZ\Publish\API\Repository\RoleService Get the role service mock object.
internalGetParser ( ) : PolicyUpdate Returns the PolicyUpdateStruct parser.

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

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

Get the role service mock object.
protected getRoleServiceMock ( ) : eZ\Publish\API\Repository\RoleService
Результат eZ\Publish\API\Repository\RoleService

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

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

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

Tests the PolicyUpdate parser.
public testParse ( )

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

Test PolicyUpdate parser throwing exception on missing identifier.

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

Test PolicyUpdate parser throwing exception on missing values.