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

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

공개 메소드들

메소드 설명
getParseHrefExpectationsMap ( )
testParse ( ) Tests the UserGroupCreate parser.
testParseExceptionOnInvalidContentType ( ) Test UserGroupCreate parser throwing exception on invalid ContentType.
testParseExceptionOnInvalidFieldDefinitionIdentifier ( ) Test UserGroupCreate parser throwing exception on invalid field definition identifier.
testParseExceptionOnInvalidFields ( ) Test UserGroupCreate parser throwing exception on invalid fields data.
testParseExceptionOnInvalidSection ( ) Test UserGroupCreate parser throwing exception on invalid Section.
testParseExceptionOnMissingFieldDefinitionIdentifier ( ) Test UserGroupCreate parser throwing exception on missing field definition identifier.
testParseExceptionOnMissingFieldValue ( ) Test UserGroupCreate parser throwing exception on missing field value.
testParseExceptionOnMissingMainLanguageCode ( ) Test UserGroupCreate parser throwing exception on missing mainLanguageCode.

보호된 메소드들

메소드 설명
getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType Get the content type used in UserGroupCreate parser.
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
getUserServiceMock ( ) : eZ\Publish\API\Repository\UserService Get the user service mock object.
internalGetParser ( ) : UserGroupCreate Returns the UserGroupCreate parser.

비공개 메소드들

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

메소드 상세

getContentType() 보호된 메소드

Get the content type used in UserGroupCreate parser.
protected getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType
리턴 eZ\Publish\API\Repository\Values\ContentType\ContentType

getContentTypeServiceMock() 보호된 메소드

Get the content type service mock object.
protected getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService
리턴 eZ\Publish\API\Repository\ContentTypeService

getParseHrefExpectationsMap() 공개 메소드

getUserServiceMock() 보호된 메소드

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

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the UserGroupCreate parser.
public testParse ( )

testParseExceptionOnInvalidContentType() 공개 메소드

Test UserGroupCreate parser throwing exception on invalid ContentType.

testParseExceptionOnInvalidFieldDefinitionIdentifier() 공개 메소드

Test UserGroupCreate parser throwing exception on invalid field definition identifier.

testParseExceptionOnInvalidFields() 공개 메소드

Test UserGroupCreate parser throwing exception on invalid fields data.

testParseExceptionOnInvalidSection() 공개 메소드

Test UserGroupCreate parser throwing exception on invalid Section.

testParseExceptionOnMissingFieldDefinitionIdentifier() 공개 메소드

Test UserGroupCreate parser throwing exception on missing field definition identifier.

testParseExceptionOnMissingFieldValue() 공개 메소드

Test UserGroupCreate parser throwing exception on missing field value.

testParseExceptionOnMissingMainLanguageCode() 공개 메소드

Test UserGroupCreate parser throwing exception on missing mainLanguageCode.