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

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testRelationListVisitsChildren ( ) Test if RelationList visitor visits the children.
testResultContainsRelationsAttributes ( string $result ) Test if result contains Relations element attributes.
testResultContainsRelationsElement ( string $result ) Test if result contains Relations element.
testVisit ( ) : string Test the RelationList visitor.

Protected Methods

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

Method Details

internalGetVisitor() protected method

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

testRelationListVisitsChildren() public method

Test if RelationList visitor visits the children.

testResultContainsRelationsAttributes() public method

Test if result contains Relations element attributes.

testResultContainsRelationsElement() public method

Test if result contains Relations element.
public testResultContainsRelationsElement ( string $result )
$result string

testVisit() public method

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