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

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

공개 메소드들

메소드 설명
getParseHrefExpectationsMap ( )
testParse ( ) Tests the FieldDefinitionUpdate parser.
testParseExceptionOnInvalidDescriptions ( ) Test FieldDefinitionUpdate parser throwing exception on invalid descriptions.
testParseExceptionOnInvalidNames ( ) Test FieldDefinitionUpdate parser throwing exception on invalid names.

보호된 메소드들

메소드 설명
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService Get the content type service mock object.
getFieldTypeParserMock ( ) : FieldTypeParser Get the FieldTypeParser mock object.
getInputArray ( ) : array Returns the array under test.
internalGetParser ( ) : FieldDefinitionUpdate Returns the FieldDefinitionUpdate parser.

메소드 상세

getContentTypeServiceMock() 보호된 메소드

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

getFieldTypeParserMock() 보호된 메소드

Get the FieldTypeParser mock object.
protected getFieldTypeParserMock ( ) : FieldTypeParser
리턴 eZ\Publish\Core\REST\Common\Input\FieldTypeParser

getInputArray() 보호된 메소드

Returns the array under test.
protected getInputArray ( ) : array
리턴 array

getParseHrefExpectationsMap() 공개 메소드

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the FieldDefinitionUpdate parser.
public testParse ( )

testParseExceptionOnInvalidDescriptions() 공개 메소드

Test FieldDefinitionUpdate parser throwing exception on invalid descriptions.

testParseExceptionOnInvalidNames() 공개 메소드

Test FieldDefinitionUpdate parser throwing exception on invalid names.