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

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

Méthodes publiques

Méthode Description
getParseHrefExpectationsMap ( )
testParse ( ) Tests the ContentTypeUpdate parser.
testParseExceptionOnInvalidDescriptions ( ) Test ContentTypeUpdate parser throwing exception on invalid descriptions.
testParseExceptionOnInvalidNames ( ) Test ContentTypeUpdate parser throwing exception on invalid names.
testParseExceptionOnInvalidUser ( ) Test ContentTypeUpdate parser throwing exception on invalid User.

Méthodes protégées

Méthode Description
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
getInputArray ( ) : array Returns the array under test.
internalGetParser ( ) : ContentTypeUpdate Returns the ContentTypeUpdate parser.

Method Details

getContentTypeServiceMock() protected méthode

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

getInputArray() protected méthode

Returns the array under test.
protected getInputArray ( ) : array
Résultat array

getParseHrefExpectationsMap() public méthode

internalGetParser() protected méthode

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

testParse() public méthode

Tests the ContentTypeUpdate parser.
public testParse ( )

testParseExceptionOnInvalidDescriptions() public méthode

Test ContentTypeUpdate parser throwing exception on invalid descriptions.

testParseExceptionOnInvalidNames() public méthode

Test ContentTypeUpdate parser throwing exception on invalid names.

testParseExceptionOnInvalidUser() public méthode

Test ContentTypeUpdate parser throwing exception on invalid User.