PHP Class eZ\Publish\Core\REST\Client\Tests\Input\Parser\RelationTest

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

Protected Properties

Property Type Description
$contentServiceMock eZ\Publish\Core\REST\Client\ContentService

Public Methods

Method Description
testParse ( ) : eZ\Publish\API\Repository\Values\Content\Relation Tests the section parser.
testParsedId ( $parsedRelation )
testParsedType ( $parsedRelation )

Protected Methods

Method Description
getContentServiceMock ( ) : ContentService
getParser ( ) : Relation Gets the section parser.

Method Details

getContentServiceMock() protected method

protected getContentServiceMock ( ) : ContentService
return eZ\Publish\Core\REST\Client\ContentService

getParser() protected method

Gets the section parser.
protected getParser ( ) : Relation
return eZ\Publish\Core\REST\Client\Input\Parser\Relation

testParse() public method

Tests the section parser.
public testParse ( ) : eZ\Publish\API\Repository\Values\Content\Relation
return eZ\Publish\API\Repository\Values\Content\Relation

testParsedId() public method

public testParsedId ( $parsedRelation )

testParsedType() public method

public testParsedType ( $parsedRelation )

Property Details

$contentServiceMock protected property

protected ContentService,eZ\Publish\Core\REST\Client $contentServiceMock
return eZ\Publish\Core\REST\Client\ContentService