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

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

공개 메소드들

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

보호된 메소드들

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

메소드 상세

getContentTypeServiceMock() 보호된 메소드

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

getInputArray() 보호된 메소드

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

getParseHrefExpectationsMap() 공개 메소드

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the ContentTypeUpdate parser.
public testParse ( )

testParseExceptionOnInvalidDescriptions() 공개 메소드

Test ContentTypeUpdate parser throwing exception on invalid descriptions.

testParseExceptionOnInvalidNames() 공개 메소드

Test ContentTypeUpdate parser throwing exception on invalid names.

testParseExceptionOnInvalidUser() 공개 메소드

Test ContentTypeUpdate parser throwing exception on invalid User.