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

Show file 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.
testResultContainsObjectStateGroupAttributes ( string $result ) Test if result contains ObjectStateGroup element attributes.
testResultContainsObjectStateGroupElement ( string $result ) Test if result contains ObjectStateGroup element.
testVisit ( ) : string Test the ObjectStateGroup visitor.

Protected Methods

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

Method Details

internalGetVisitor() protected method

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

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

testResultContainsObjectStateGroupAttributes() public method

Test if result contains ObjectStateGroup element attributes.

testResultContainsObjectStateGroupElement() public method

Test if result contains ObjectStateGroup element.

testVisit() public method

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