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

Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsDefaultLanguageCodeValueElement ( string $result ) Test if result contains defaultLanguageCode value element.
testResultContainsDescriptionsElement ( string $result ) Test if result contains descriptions element.
testResultContainsIdValueElement ( string $result ) Test if result contains id value element.
testResultContainsIdentifierValueElement ( string $result ) Test if result contains identifier value element.
testResultContainsLanguageCodesValueElement ( string $result ) Test if result contains languageCodes value element.
testResultContainsNamesElement ( string $result ) Test if result contains names element.
testResultContainsObjectStateAttributes ( string $result ) Test if result contains ObjectState element attributes.
testResultContainsObjectStateElement ( string $result ) Test if result contains ObjectState element.
testResultContainsObjectStateGroupAttributes ( string $result ) Test if result contains ObjectStateGroup element attributes.
testResultContainsObjectStateGroupElement ( string $result ) Test if result contains ObjectStateGroup element.
testResultContainsPriorityValueElement ( string $result ) Test if result contains priority value element.
testVisit ( ) : string Test the RestObjectState visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : RestObjectState Get the ObjectState visitor.

Method Details

internalGetVisitor() protected method

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

testResultContainsDefaultLanguageCodeValueElement() public method

Test if result contains defaultLanguageCode value element.

testResultContainsDescriptionsElement() public method

Test if result contains descriptions element.

testResultContainsIdValueElement() public method

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

testResultContainsIdentifierValueElement() public method

Test if result contains identifier value element.

testResultContainsLanguageCodesValueElement() public method

Test if result contains languageCodes value element.

testResultContainsNamesElement() public method

Test if result contains names element.
public testResultContainsNamesElement ( string $result )
$result string

testResultContainsObjectStateAttributes() public method

Test if result contains ObjectState element attributes.

testResultContainsObjectStateElement() public method

Test if result contains ObjectState element.

testResultContainsObjectStateGroupAttributes() public method

Test if result contains ObjectStateGroup element attributes.

testResultContainsObjectStateGroupElement() public method

Test if result contains ObjectStateGroup element.

testResultContainsPriorityValueElement() public method

Test if result contains priority value element.

testVisit() public method

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