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

Inheritance: extends BaseTest
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

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

Protected Methods

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

Method Details

getSectionServiceMock() protected method

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

internalGetParser() protected method

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

testParse() public method

Tests the SectionInput parser.
public testParse ( )

testParseExceptionOnMissingIdentifier() public method

Test SectionInput parser throwing exception on missing identifier.

testParseExceptionOnMissingName() public method

Test SectionInput parser throwing exception on missing name.