PHP 클래스 eZ\Publish\Core\REST\Server\Tests\Input\Parser\LocationCreateTest

상속: extends BaseTest
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
getParseHrefExpectationsMap ( )
testParse ( ) Tests the LocationCreate parser.
testParseExceptionOnMissingHrefAttribute ( ) Test LocationCreate parser throwing exception on missing _href attribute for ParentLocation.
testParseExceptionOnMissingParentLocation ( ) Test LocationCreate parser throwing exception on missing ParentLocation.
testParseExceptionOnMissingSortField ( ) Test LocationCreate parser throwing exception on missing sort field.
testParseExceptionOnMissingSortOrder ( ) Test LocationCreate parser throwing exception on missing sort order.

보호된 메소드들

메소드 설명
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService Get the location service mock object.
internalGetParser ( ) : LocationCreate Returns the LocationCreateStruct parser.

메소드 상세

getLocationServiceMock() 보호된 메소드

Get the location service mock object.
protected getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService
리턴 eZ\Publish\API\Repository\LocationService

getParseHrefExpectationsMap() 공개 메소드

internalGetParser() 보호된 메소드

Returns the LocationCreateStruct parser.
protected internalGetParser ( ) : LocationCreate
리턴 eZ\Publish\Core\REST\Server\Input\Parser\LocationCreate

testParse() 공개 메소드

Tests the LocationCreate parser.
public testParse ( )

testParseExceptionOnMissingHrefAttribute() 공개 메소드

Test LocationCreate parser throwing exception on missing _href attribute for ParentLocation.

testParseExceptionOnMissingParentLocation() 공개 메소드

Test LocationCreate parser throwing exception on missing ParentLocation.

testParseExceptionOnMissingSortField() 공개 메소드

Test LocationCreate parser throwing exception on missing sort field.

testParseExceptionOnMissingSortOrder() 공개 메소드

Test LocationCreate parser throwing exception on missing sort order.