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

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsRoleListAttributes ( string $result ) Test if result contains RoleList element attributes.
testResultContainsRoleListElement ( string $result ) Test if result contains RoleList element.
testRoleListVisitsChildren ( ) Test if RoleList visitor visits the children.
testVisit ( ) : string Test the RoleList visitor.

Protected Methods

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

Method Details

internalGetVisitor() protected method

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

testResultContainsRoleListAttributes() public method

Test if result contains RoleList element attributes.

testResultContainsRoleListElement() public method

Test if result contains RoleList element.
public testResultContainsRoleListElement ( string $result )
$result string

testRoleListVisitsChildren() public method

Test if RoleList visitor visits the children.

testVisit() public method

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