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

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

Public Methods

Method Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the RoleAssignInput parser.
testParseExceptionOnInvalidRole ( ) Test RoleAssignInput parser throwing exception on invalid Role.
testParseExceptionOnMissingLimitationIdentifier ( ) Test Limitation parser throwing exception on missing identifier.
testParseExceptionOnMissingRole ( ) Test RoleAssignInput parser throwing exception on missing Role.

Protected Methods

Method Description
internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\RoleAssignInput Returns the role assign input parser.

Method Details

getParseHrefExpectationsMap() public method

internalGetParser() protected method

Returns the role assign input parser.
protected internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\RoleAssignInput
return eZ\Publish\Core\REST\Server\Input\Parser\RoleAssignInput

testParse() public method

Tests the RoleAssignInput parser.
public testParse ( )

testParseExceptionOnInvalidRole() public method

Test RoleAssignInput parser throwing exception on invalid Role.

testParseExceptionOnMissingLimitationIdentifier() public method

Test Limitation parser throwing exception on missing identifier.

testParseExceptionOnMissingRole() public method

Test RoleAssignInput parser throwing exception on missing Role.