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

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

Public Methods

Method Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the RelationCreate parser.
testParseExceptionOnMissingDestination ( ) Test RelationCreate parser throwing exception on missing Destination.
testParseExceptionOnMissingDestinationHref ( ) Test RelationCreate parser throwing exception on missing Destination href.

Protected Methods

Method Description
internalGetParser ( ) : RelationCreate Returns the RelationCreate parser.

Method Details

getParseHrefExpectationsMap() public method

internalGetParser() protected method

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

testParse() public method

Tests the RelationCreate parser.
public testParse ( )

testParseExceptionOnMissingDestination() public method

Test RelationCreate parser throwing exception on missing Destination.

testParseExceptionOnMissingDestinationHref() public method

Test RelationCreate parser throwing exception on missing Destination href.