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

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

공개 메소드들

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

보호된 메소드들

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

메소드 상세

getObjectStateServiceMock() 보호된 메소드

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

internalGetParser() 보호된 메소드

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

testParse() 공개 메소드

Tests the ObjectStateCreate parser.
public testParse ( )

testParseExceptionOnInvalidNames() 공개 메소드

Test ObjectStateCreate parser throwing exception on invalid names structure.

testParseExceptionOnMissingDefaultLanguageCode() 공개 메소드

Test ObjectStateCreate parser throwing exception on missing defaultLanguageCode.

testParseExceptionOnMissingIdentifier() 공개 메소드

Test ObjectStateCreate parser throwing exception on missing identifier.

testParseExceptionOnMissingNames() 공개 메소드

Test ObjectStateCreate parser throwing exception on missing names.

testParseExceptionOnMissingPriority() 공개 메소드

Test ObjectStateCreate parser throwing exception on missing priority.