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

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

Public Methods

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

Protected Methods

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

Method Details

getObjectStateServiceMock() protected method

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

internalGetParser() protected method

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

testParse() public method

Tests the ObjectStateUpdate parser.
public testParse ( )

testParseExceptionOnInvalidNames() public method

Test ObjectStateUpdate parser throwing exception on invalid names structure.