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

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

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

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

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

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

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

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

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

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

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

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

Tests the PolicyCreate parser.
public testParse ( )

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

Test PolicyCreate parser throwing exception on missing function.

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

Test PolicyCreate parser throwing exception on missing identifier.

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

Test PolicyCreate parser throwing exception on missing values.

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

Test PolicyCreate parser throwing exception on missing module.