PHP Class eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\ObjectStateCreateStructTest

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testResultContainsDefaultLanguageCodeValueElement ( string $result ) Tests that the result contains defaultLanguageCode value element.
testResultContainsDescriptionsElement ( string $result ) Tests that the result contains descriptions element.
testResultContainsIdentifierValueElement ( string $result ) Tests that the result contains identifier value element.
testResultContainsNamesElement ( string $result ) Tests that the result contains names element.
testResultContainsPriorityValueElement ( string $result ) Tests that the result contains priority value element.
testVisit ( ) : string Tests the ObjectStateCreateStruct visitor.

Protected Methods

Method Description
internalGetVisitor ( ) : ObjectStateCreateStruct Gets the ObjectStateCreateStruct visitor.

Method Details

internalGetVisitor() protected method

Gets the ObjectStateCreateStruct visitor.

testResultContainsDefaultLanguageCodeValueElement() public method

Tests that the result contains defaultLanguageCode value element.

testResultContainsDescriptionsElement() public method

Tests that the result contains descriptions element.

testResultContainsIdentifierValueElement() public method

Tests that the result contains identifier value element.

testResultContainsNamesElement() public method

Tests that the result contains names element.
public testResultContainsNamesElement ( string $result )
$result string

testResultContainsPriorityValueElement() public method

Tests that the result contains priority value element.

testVisit() public method

Tests the ObjectStateCreateStruct visitor.
public testVisit ( ) : string
return string