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

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

공개 메소드들

메소드 설명
testParse ( ) Tests the ObjectStateGroupCreate parser.
testParseExceptionOnInvalidNames ( ) Test ObjectStateGroupCreate parser throwing exception on invalid names structure.
testParseExceptionOnMissingDefaultLanguageCode ( ) Test ObjectStateGroupCreate parser throwing exception on missing defaultLanguageCode.
testParseExceptionOnMissingIdentifier ( ) Test ObjectStateGroupCreate parser throwing exception on missing identifier.
testParseExceptionOnMissingNames ( ) Test ObjectStateGroupCreate parser throwing exception on missing names.

보호된 메소드들

메소드 설명
getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService Get the object state service mock object.
internalGetParser ( ) : ObjectStateGroupCreate Returns the ObjectStateGroupCreate parser.

메소드 상세

getObjectStateServiceMock() 보호된 메소드

Get the object state service mock object.
protected getObjectStateServiceMock ( ) : eZ\Publish\API\Repository\ObjectStateService
리턴 eZ\Publish\API\Repository\ObjectStateService

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the ObjectStateGroupCreate parser.
public testParse ( )

testParseExceptionOnInvalidNames() 공개 메소드

Test ObjectStateGroupCreate parser throwing exception on invalid names structure.

testParseExceptionOnMissingDefaultLanguageCode() 공개 메소드

Test ObjectStateGroupCreate parser throwing exception on missing defaultLanguageCode.

testParseExceptionOnMissingIdentifier() 공개 메소드

Test ObjectStateGroupCreate parser throwing exception on missing identifier.

testParseExceptionOnMissingNames() 공개 메소드

Test ObjectStateGroupCreate parser throwing exception on missing names.