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

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

Méthodes publiques

Méthode Description
testParse ( ) Tests the ObjectStateUpdate parser.
testParseExceptionOnInvalidNames ( ) Test ObjectStateUpdate parser throwing exception on invalid names structure.

Méthodes protégées

Méthode Description
getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService Get the object state service mock object.
internalGetParser ( ) : ObjectStateUpdate Returns the ObjectStateUpdate parser.

Method Details

getObjectStateServiceMock() protected méthode

Get the object state service mock object.
protected getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService
Résultat eZ\Publish\API\Repository\ObjectStateService

internalGetParser() protected méthode

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

testParse() public méthode

Tests the ObjectStateUpdate parser.
public testParse ( )

testParseExceptionOnInvalidNames() public méthode

Test ObjectStateUpdate parser throwing exception on invalid names structure.