PHP 클래스 eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentFieldValidationExceptionTest

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
testResultContainsErrorDescription ( string $result ) Test if result contains ErrorMessage element and description.
testResultContainsErrorDetails ( string $result ) Test if result contains ErrorMessage element and details.
testVisit ( ) : string Test the ContentFieldValidationException visitor.

보호된 메소드들

메소드 설명
getException ( ) : Exception Gets the exception.
getExpectedDescription ( ) : string Get expected description.
getExpectedMessage ( ) : string Get expected message.
getExpectedStatusCode ( ) : integer Get expected status code.
internalGetVisitor ( ) : ContentFieldValidationException Gets the exception visitor.

메소드 상세

getException() 보호된 메소드

Gets the exception.
protected getException ( ) : Exception
리턴 Exception

getExpectedDescription() 보호된 메소드

Get expected description.
protected getExpectedDescription ( ) : string
리턴 string

getExpectedMessage() 보호된 메소드

Get expected message.
protected getExpectedMessage ( ) : string
리턴 string

getExpectedStatusCode() 보호된 메소드

Get expected status code.
protected getExpectedStatusCode ( ) : integer
리턴 integer

internalGetVisitor() 보호된 메소드

Gets the exception visitor.
protected internalGetVisitor ( ) : ContentFieldValidationException
리턴 eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\ContentFieldValidationException

testResultContainsErrorDescription() 공개 메소드

Test if result contains ErrorMessage element and description.
public testResultContainsErrorDescription ( string $result )
$result string

testResultContainsErrorDetails() 공개 메소드

Test if result contains ErrorMessage element and details.
public testResultContainsErrorDetails ( string $result )
$result string

testVisit() 공개 메소드

Test the ContentFieldValidationException visitor.
public testVisit ( ) : string
리턴 string