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

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

Méthodes publiques

Méthode Description
testParse ( ) Tests the ObjectStateCreate parser.
testParseExceptionOnInvalidNames ( ) Test ObjectStateCreate parser throwing exception on invalid names structure.
testParseExceptionOnMissingDefaultLanguageCode ( ) Test ObjectStateCreate parser throwing exception on missing defaultLanguageCode.
testParseExceptionOnMissingIdentifier ( ) Test ObjectStateCreate parser throwing exception on missing identifier.
testParseExceptionOnMissingNames ( ) Test ObjectStateCreate parser throwing exception on missing names.
testParseExceptionOnMissingPriority ( ) Test ObjectStateCreate parser throwing exception on missing priority.

Méthodes protégées

Méthode Description
getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService Get the object state service mock object.
internalGetParser ( ) : ObjectStateCreate Returns the ObjectStateCreate parser.

Method Details

getObjectStateServiceMock() protected méthode

Get the object state service mock object.
protected getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService
Résultat eZ\Publish\API\Repository\ObjectStateService

internalGetParser() protected méthode

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

testParse() public méthode

Tests the ObjectStateCreate parser.
public testParse ( )

testParseExceptionOnInvalidNames() public méthode

Test ObjectStateCreate parser throwing exception on invalid names structure.

testParseExceptionOnMissingDefaultLanguageCode() public méthode

Test ObjectStateCreate parser throwing exception on missing defaultLanguageCode.

testParseExceptionOnMissingIdentifier() public méthode

Test ObjectStateCreate parser throwing exception on missing identifier.

testParseExceptionOnMissingNames() public méthode

Test ObjectStateCreate parser throwing exception on missing names.

testParseExceptionOnMissingPriority() public méthode

Test ObjectStateCreate parser throwing exception on missing priority.