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

Inheritance: extends RestLocationTest
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsChildrenAttributes ( string $result ) Test if result contains Children element attributes.
testResultContainsIdValueElement ( string $result ) Test if result contains id value element.
testResultContainsLocationAttributes ( string $result ) Test if result contains Location element attributes.
testResultContainsParentLocationAttributes ( string $result ) Test if result contains ParentLocation element attributes.
testResultContainsParentLocationElement ( string $result ) Test if result contains ParentLocation element.
testResultContainsPathStringValueElement ( string $result ) Test if result contains pathString value element.
testResultContainsUrlAliasesTagAttributes ( string $result ) Test if result contains Content element attributes.
testVisit ( ) : string Test the Location visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : RestLocation Get the Location visitor.

Method Details

internalGetVisitor() protected method

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

testResultContainsChildrenAttributes() public method

Test if result contains Children element attributes.

testResultContainsIdValueElement() public method

Test if result contains id value element.
public testResultContainsIdValueElement ( string $result )
$result string

testResultContainsLocationAttributes() public method

Test if result contains Location element attributes.

testResultContainsParentLocationAttributes() public method

Test if result contains ParentLocation element attributes.

testResultContainsParentLocationElement() public method

Test if result contains ParentLocation element.

testResultContainsPathStringValueElement() public method

Test if result contains pathString value element.

testResultContainsUrlAliasesTagAttributes() public method

Test if result contains Content element attributes.

testVisit() public method

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