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

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsChildCountValueElement ( string $result ) Test if result contains childCount value element.
testResultContainsChildrenAttributes ( string $result ) Test if result contains Children element attributes.
testResultContainsChildrenElement ( string $result ) Test if result contains Children element.
testResultContainsContentAttributes ( string $result ) Test if result contains Content element attributes.
testResultContainsContentElement ( string $result ) Test if result contains Content element.
testResultContainsContentInfoAttributes ( string $result ) Test if result contains Location element attributes.
testResultContainsContentInfoElement ( string $result ) Test if result contains ContentInfo element.
testResultContainsDepthValueElement ( string $result ) Test if result contains depth value element.
testResultContainsHiddenValueElement ( string $result ) Test if result contains hidden value element.
testResultContainsIdValueElement ( string $result ) Test if result contains id value element.
testResultContainsInvisibleValueElement ( string $result ) Test if result contains invisible value element.
testResultContainsLocationAttributes ( string $result ) Test if result contains Location element attributes.
testResultContainsLocationElement ( string $result ) Test if result contains Location element.
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.
testResultContainsPriorityValueElement ( string $result ) Test if result contains priority value element.
testResultContainsRemoteIdValueElement ( string $result ) Test if result contains remoteId value element.
testResultContainsSortFieldValueElement ( string $result ) Test if result contains sortField value element.
testResultContainsSortOrderValueElement ( string $result ) Test if result contains sortOrder value element.
testResultContainsUrlAliasesTag ( string $result ) Test if result contains Content 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

testResultContainsChildCountValueElement() public method

Test if result contains childCount value element.

testResultContainsChildrenAttributes() public method

Test if result contains Children element attributes.

testResultContainsChildrenElement() public method

Test if result contains Children element.
public testResultContainsChildrenElement ( string $result )
$result string

testResultContainsContentAttributes() public method

Test if result contains Content element attributes.

testResultContainsContentElement() public method

Test if result contains Content element.
public testResultContainsContentElement ( string $result )
$result string

testResultContainsContentInfoAttributes() public method

Test if result contains Location element attributes.

testResultContainsContentInfoElement() public method

Test if result contains ContentInfo element.

testResultContainsDepthValueElement() public method

Test if result contains depth value element.

testResultContainsHiddenValueElement() public method

Test if result contains hidden value element.

testResultContainsIdValueElement() public method

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

testResultContainsInvisibleValueElement() public method

Test if result contains invisible value element.

testResultContainsLocationAttributes() public method

Test if result contains Location element attributes.

testResultContainsLocationElement() public method

Test if result contains Location element.
public testResultContainsLocationElement ( string $result )
$result string

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.

testResultContainsPriorityValueElement() public method

Test if result contains priority value element.

testResultContainsRemoteIdValueElement() public method

Test if result contains remoteId value element.

testResultContainsSortFieldValueElement() public method

Test if result contains sortField value element.

testResultContainsSortOrderValueElement() public method

Test if result contains sortOrder value element.

testResultContainsUrlAliasesTag() public method

Test if result contains Content element.
public testResultContainsUrlAliasesTag ( string $result )
$result string

testResultContainsUrlAliasesTagAttributes() public method

Test if result contains Content element attributes.

testVisit() public method

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