PHP Класс eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentFieldValidationExceptionTest

Показать файл Открыть проект

Открытые методы

Метод Описание
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