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

Inheritance: extends BaseTest
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the UserGroupUpdate parser.
testParseExceptionOnInvalidFields ( ) Test UserGroupUpdate parser throwing exception on invalid fields data.
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) Test UserGroupUpdate parser throwing exception on missing field definition identifier.
testParseExceptionOnMissingFieldValue ( ) Test UserGroupUpdate parser throwing exception on missing field value.
testParseExceptionOnMissingSectionHref ( ) Test UserGroupUpdate parser throwing exception on missing Section href.

Méthodes protégées

Méthode Description
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService Get the content service mock object.
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService Get the location service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserGroupUpdate Returns the UserGroupUpdate parser.

Private Methods

Méthode Description
getFieldTypeParserMock ( ) : eZ\Publish\Core\REST\Common\Input\FieldTypeParser; Get the field type parser mock object.

Method Details

getContentServiceMock() protected méthode

Get the content service mock object.
protected getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService
Résultat eZ\Publish\API\Repository\ContentService

getLocationServiceMock() protected méthode

Get the location service mock object.
protected getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService
Résultat eZ\Publish\API\Repository\LocationService

getParseHrefExpectationsMap() public méthode

getUserServiceMock() protected méthode

Get the user service mock object.
protected getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService
Résultat eZ\Publish\API\Repository\UserService

internalGetParser() protected méthode

Returns the UserGroupUpdate parser.
protected internalGetParser ( ) : UserGroupUpdate
Résultat eZ\Publish\Core\REST\Server\Input\Parser\UserGroupUpdate

testParse() public méthode

Tests the UserGroupUpdate parser.
public testParse ( )

testParseExceptionOnInvalidFields() public méthode

Test UserGroupUpdate parser throwing exception on invalid fields data.

testParseExceptionOnMissingFieldDefinitionIdentifier() public méthode

Test UserGroupUpdate parser throwing exception on missing field definition identifier.

testParseExceptionOnMissingFieldValue() public méthode

Test UserGroupUpdate parser throwing exception on missing field value.

testParseExceptionOnMissingSectionHref() public méthode

Test UserGroupUpdate parser throwing exception on missing Section href.