PHP Class eZ\Publish\Core\REST\Server\Tests\Input\Parser\Criterion\UserMetadataTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testParse ( $data, $expected ) Tests the UserMetadata parser.
testParseExceptionOnInvalidCriterionFormat ( ) Test UserMetadata parser throwing exception on invalid UserMetadataCriterion format.
testParseExceptionOnInvalidTargetFormat ( ) Test UserMetadata parser throwing exception on invalid target format.
testParseExceptionOnInvalidValueFormat ( ) Test UserMetadata parser throwing exception on invalid value format.
testParseExceptionOnWrongValueType ( ) Test UserMetadata parser throwing exception on wrong type of value format.
testParseProvider ( )

Protected Methods

Method Description
internalGetParser ( ) : UserMetadata Returns the UserMetadata criterion parser.

Method Details

internalGetParser() protected method

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

testParse() public method

Tests the UserMetadata parser.
public testParse ( $data, $expected )

testParseExceptionOnInvalidCriterionFormat() public method

Test UserMetadata parser throwing exception on invalid UserMetadataCriterion format.

testParseExceptionOnInvalidTargetFormat() public method

Test UserMetadata parser throwing exception on invalid target format.

testParseExceptionOnInvalidValueFormat() public method

Test UserMetadata parser throwing exception on invalid value format.

testParseExceptionOnWrongValueType() public method

Test UserMetadata parser throwing exception on wrong type of value format.

testParseProvider() public method

public testParseProvider ( )