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

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsTrashAttributes ( string $result ) Test if result contains Trash element attributes.
testResultContainsTrashElement ( string $result ) Test if result contains Trash element.
testTrashVisitsChildren ( ) Test if Trash visitor visits the children.
testVisit ( ) : string Test the Trash visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : Trash Get the Trash visitor.

Method Details

internalGetVisitor() protected method

Get the Trash visitor.
protected internalGetVisitor ( ) : Trash
return eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Trash

testResultContainsTrashAttributes() public method

Test if result contains Trash element attributes.
public testResultContainsTrashAttributes ( string $result )
$result string

testResultContainsTrashElement() public method

Test if result contains Trash element.
public testResultContainsTrashElement ( string $result )
$result string

testTrashVisitsChildren() public method

Test if Trash visitor visits the children.

testVisit() public method

Test the Trash visitor.
public testVisit ( ) : string
return string