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

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testContentListVisitsChildren ( ) Test if ContentList visitor visits the children.
testResultContainsContentListAttributes ( string $result ) Test if result contains ContentList element attributes.
testResultContainsContentListElement ( string $result ) Test if result contains ContentList element.
testVisit ( ) : string Test the ContentList visitor.

Protected Methods

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

Method Details

internalGetVisitor() protected method

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

testContentListVisitsChildren() public method

Test if ContentList visitor visits the children.

testResultContainsContentListAttributes() public method

Test if result contains ContentList element attributes.

testResultContainsContentListElement() public method

Test if result contains ContentList element.

testVisit() public method

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