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

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

Public Methods

Method Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the ContentTypeGroupInput parser.
testParseExceptionOnInvalidUser ( ) Test ContentTypeGroupInput parser throwing exception on invalid User.

Protected Methods

Method Description
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
internalGetParser ( ) : ContentTypeGroupInput Returns the content type group input parser.

Method Details

getContentTypeServiceMock() protected method

Get the content type service mock object.
protected getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService
return eZ\Publish\API\Repository\ContentTypeService

getParseHrefExpectationsMap() public method

internalGetParser() protected method

Returns the content type group input parser.
protected internalGetParser ( ) : ContentTypeGroupInput
return eZ\Publish\Core\REST\Server\Input\Parser\ContentTypeGroupInput

testParse() public method

Tests the ContentTypeGroupInput parser.
public testParse ( )

testParseExceptionOnInvalidUser() public method

Test ContentTypeGroupInput parser throwing exception on invalid User.