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

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

공개 메소드들

메소드 설명
getParseHrefExpectationsMap ( )
testParse ( ) Tests the UserUpdate parser.
testParseExceptionOnInvalidFields ( ) Test UserUpdate parser throwing exception on invalid fields data.
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) Test UserUpdate parser throwing exception on missing field definition identifier.
testParseExceptionOnMissingFieldValue ( ) Test UserUpdate parser throwing exception on missing field value.
testParseExceptionOnMissingSectionHref ( ) Test UserUpdate parser throwing exception on missing Section href.

보호된 메소드들

메소드 설명
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService Get the Content service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserUpdate Returns the UserUpdate parser.

비공개 메소드들

메소드 설명
getFieldTypeParserMock ( ) : eZ\Publish\Core\REST\Common\Input\FieldTypeParser; Get the field type parser mock object.

메소드 상세

getContentServiceMock() 보호된 메소드

Get the Content service mock object.
protected getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService
리턴 eZ\Publish\API\Repository\ContentService

getParseHrefExpectationsMap() 공개 메소드

getUserServiceMock() 보호된 메소드

Get the user service mock object.
protected getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService
리턴 eZ\Publish\API\Repository\UserService

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the UserUpdate parser.
public testParse ( )

testParseExceptionOnInvalidFields() 공개 메소드

Test UserUpdate parser throwing exception on invalid fields data.

testParseExceptionOnMissingFieldDefinitionIdentifier() 공개 메소드

Test UserUpdate parser throwing exception on missing field definition identifier.

testParseExceptionOnMissingFieldValue() 공개 메소드

Test UserUpdate parser throwing exception on missing field value.

testParseExceptionOnMissingSectionHref() 공개 메소드

Test UserUpdate parser throwing exception on missing Section href.