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

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

Public Methods

Method Description
testParse ( ) Tests the ObjectStateGroupUpdate parser.
testParseExceptionOnInvalidNames ( ) Test ObjectStateGroupUpdate 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 ( ) : ObjectStateGroupUpdate Returns the ObjectStateGroupUpdate 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 ObjectStateGroupUpdate parser.
protected internalGetParser ( ) : ObjectStateGroupUpdate
return eZ\Publish\Core\REST\Server\Input\Parser\ObjectStateGroupUpdate

testParse() public method

Tests the ObjectStateGroupUpdate parser.
public testParse ( )

testParseExceptionOnInvalidNames() public method

Test ObjectStateGroupUpdate parser throwing exception on invalid names structure.