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

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

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

Метод Описание
getParseHrefExpectationsMap ( )
testParse ( ) Tests the LocationCreate parser.
testParseExceptionOnMissingHrefAttribute ( ) Test LocationCreate parser throwing exception on missing _href attribute for ParentLocation.
testParseExceptionOnMissingParentLocation ( ) Test LocationCreate parser throwing exception on missing ParentLocation.
testParseExceptionOnMissingSortField ( ) Test LocationCreate parser throwing exception on missing sort field.
testParseExceptionOnMissingSortOrder ( ) Test LocationCreate parser throwing exception on missing sort order.

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

Метод Описание
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService Get the location service mock object.
internalGetParser ( ) : LocationCreate Returns the LocationCreateStruct parser.

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

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

Get the location service mock object.
protected getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService
Результат eZ\Publish\API\Repository\LocationService

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

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

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

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

Tests the LocationCreate parser.
public testParse ( )

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

Test LocationCreate parser throwing exception on missing _href attribute for ParentLocation.

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

Test LocationCreate parser throwing exception on missing ParentLocation.

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

Test LocationCreate parser throwing exception on missing sort field.

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

Test LocationCreate parser throwing exception on missing sort order.