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

Inheritance: extends BaseTest
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Method Details

getLocationServiceMock() protected méthode

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

internalGetParser() protected méthode

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

testParse() public méthode

Tests the LocationUpdate parser.
public testParse ( )

testParseExceptionOnMissingSortField() public méthode

Test LocationUpdate parser throwing exception on missing sort field.

testParseExceptionOnMissingSortOrder() public méthode

Test LocationUpdate parser throwing exception on missing sort order.