PHP Class eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\ContentFieldValidationExceptionTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

getException() protected méthode

Gets the exception.
protected getException ( ) : Exception
Résultat Exception

getExpectedDescription() protected méthode

Get expected description.
protected getExpectedDescription ( ) : string
Résultat string

getExpectedMessage() protected méthode

Get expected message.
protected getExpectedMessage ( ) : string
Résultat string

getExpectedStatusCode() protected méthode

Get expected status code.
protected getExpectedStatusCode ( ) : integer
Résultat integer

internalGetVisitor() protected méthode

Gets the exception visitor.
protected internalGetVisitor ( ) : ContentFieldValidationException
Résultat eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\ContentFieldValidationException

testResultContainsErrorDescription() public méthode

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

testResultContainsErrorDetails() public méthode

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

testVisit() public méthode

Test the ContentFieldValidationException visitor.
public testVisit ( ) : string
Résultat string