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

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

Méthodes publiques

Méthode Description
testParse ( ) Tests the SectionInput parser.
testParseExceptionOnMissingIdentifier ( ) Test SectionInput parser throwing exception on missing identifier.
testParseExceptionOnMissingName ( ) Test SectionInput parser throwing exception on missing name.

Méthodes protégées

Méthode Description
getSectionServiceMock ( ) : eZ\Publish\API\Repository\SectionService Get the section service mock object.
internalGetParser ( ) : SectionInput Returns the section input parser.

Method Details

getSectionServiceMock() protected méthode

Get the section service mock object.
protected getSectionServiceMock ( ) : eZ\Publish\API\Repository\SectionService
Résultat eZ\Publish\API\Repository\SectionService

internalGetParser() protected méthode

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

testParse() public méthode

Tests the SectionInput parser.
public testParse ( )

testParseExceptionOnMissingIdentifier() public méthode

Test SectionInput parser throwing exception on missing identifier.

testParseExceptionOnMissingName() public méthode

Test SectionInput parser throwing exception on missing name.