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

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

Public Methods

Method Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the ContentObjectStates parser.
testParseExceptionOnMissingHref ( ) Test ContentObjectStates parser throwing exception on missing href.

Protected Methods

Method Description
internalGetParser ( ) : eZ\Publish\Core\REST\Common\Input\Parser\ContentObjectStates; Gets the ContentObjectStates parser.

Method Details

getParseHrefExpectationsMap() public method

internalGetParser() protected method

Gets the ContentObjectStates parser.
protected internalGetParser ( ) : eZ\Publish\Core\REST\Common\Input\Parser\ContentObjectStates;
return eZ\Publish\Core\REST\Common\Input\Parser\ContentObjectStates;

testParse() public method

Tests the ContentObjectStates parser.
public testParse ( )

testParseExceptionOnMissingHref() public method

Test ContentObjectStates parser throwing exception on missing href.