PHP Class eZ\Publish\Core\REST\Server\Tests\Input\Parser\LocationUpdateTest

Inheritance: extends BaseTest
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testParse ( ) Tests the LocationUpdate parser.
testParseExceptionOnMissingSortField ( ) Test LocationUpdate parser throwing exception on missing sort field.
testParseExceptionOnMissingSortOrder ( ) Test LocationUpdate parser throwing exception on missing sort order.

Protected Methods

Method Description
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService Get the location service mock object.
internalGetParser ( ) : LocationUpdate Returns the LocationUpdateStruct parser.

Method Details

getLocationServiceMock() protected method

Get the location service mock object.
protected getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService
return eZ\Publish\API\Repository\LocationService

internalGetParser() protected method

Returns the LocationUpdateStruct parser.
protected internalGetParser ( ) : LocationUpdate
return eZ\Publish\Core\REST\Server\Input\Parser\LocationUpdate

testParse() public method

Tests the LocationUpdate parser.
public testParse ( )

testParseExceptionOnMissingSortField() public method

Test LocationUpdate parser throwing exception on missing sort field.

testParseExceptionOnMissingSortOrder() public method

Test LocationUpdate parser throwing exception on missing sort order.